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

Add back logging of incoming event for observability #43

Open
lanaebk opened this issue Jan 11, 2021 · 0 comments
Open

Add back logging of incoming event for observability #43

lanaebk opened this issue Jan 11, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@lanaebk
Copy link
Contributor

lanaebk commented Jan 11, 2021

Need to add back logging of incoming event to troubleshoot errors.

Example from today:

{
    "errorType": "TypeError",
    "errorMessage": "Cannot read property 'author' of null",
    "stack": [
        "TypeError: Cannot read property 'author' of null",
        "    at Object.exports.getMergeRequestEventData (\/var\/task\/src\/merge_request\/helpers.js:19:58)",
        "    at Object.<anonymous> (\/var\/task\/src\/bot_actions\/bot_action.js:101:51)",
        "    at Generator.next (<anonymous>)",
        "    at \/var\/task\/src\/bot_actions\/bot_action.js:8:71",
        "    at new Promise (<anonymous>)",
        "    at __awaiter (\/var\/task\/src\/bot_actions\/bot_action.js:4:12)",
        "    at Object.runBotActions (\/var\/task\/src\/bot_actions\/bot_action.js:100:12)",
        "    at \/var\/task\/handler.js:69:56",
        "    at Generator.next (<anonymous>)",
        "    at fulfilled (\/var\/task\/handler.js:5:58)"
    ]
}
@lanaebk lanaebk added the bug Something isn't working label Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant