Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError is not handled properly #75

Open
vhadianto opened this issue Dec 9, 2020 · 0 comments
Open

TypeError is not handled properly #75

vhadianto opened this issue Dec 9, 2020 · 0 comments

Comments

@vhadianto
Copy link
Collaborator

This type error is not caught and the control ends up in DLQ.

https://turbothq.slack.com/archives/CT38B9F8A/p1607450246098800

    "error": {
        "message": "Cannot read property 'Attachment' of undefined",
        "code": "TypeError",
        "time": {},
        "name": "TypeError",
        "stack": "TypeError: Cannot read property 'Attachment' of undefined\n    at eval (webpack:///./index.js?:228:58)\n    at eval (webpack:////home/runner/work/turbot-mods/turbot-mods/node_modules/async/dist/async.js?:472:16)\n    at processQueue (webpack:////home/runner/work/turbot-mods/turbot-mods/node_modules/async/dist/async.js?:1577:20)\n    at taskComplete (webpack:////home/runner/work/turbot-mods/turbot-mods/node_modules/async/dist/async.js?:1600:9)\n    at eval (webpack:////home/runner/work/turbot-mods/turbot-mods/node_modules/async/dist/async.js?:1624:17)\n    at eval (webpack:////home/runner/work/turbot-mods/turbot-mods/node_modules/async/dist/async.js?:968:16)\n    at Response.eval (webpack:///./index.js?:181:13)\n    at Request.eval (webpack:////home/runner/work/turbot-mods/turbot-mods/node_modules/aws-sdk/lib/request.js?:369:18)\n    at Request.callListeners (webpack:////home/runner/work/turbot-mods/turbot-mods/node_modules/aws-sdk/lib/sequential_executor.js?:106:20)\n    at Request.emit (webpack:////home/runner/work/turbot-mods/turbot-mods/node_modules/aws-sdk/lib/sequential_executor.js?:78:10)"
    },
    "message": "Lambda process received Uncaught Exception",
    "level": "error",
    "timestamp": "2020-12-08T17:35:15.268Z"
}```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant