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

startup status errors #2922

Closed
sogehige opened this issue Oct 30, 2019 · 0 comments · Fixed by #2926
Closed

startup status errors #2922

sogehige opened this issue Oct 30, 2019 · 0 comments · Fixed by #2926

Comments

@sogehige
Copy link
Collaborator

2019-10-30T09:17:29.181 !!! ERROR !!! Possibly Unhandled Rejection at: Promise {
TypeError: Cannot read property 'status' of undefined
at API. (/root/bots/sogebot/src/bot/api.ts:788:145)
at Generator.throw ()
at rejected (/root/bots/sogebot/dest/api.js:15:65)
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:93:5)
} reason: TypeError: Cannot read property 'status' of undefined

sogehige added a commit that referenced this issue Oct 30, 2019
sogehige added a commit that referenced this issue Oct 30, 2019
* fix(api): return response only if defined

Fixes #2922

* fix
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

Successfully merging a pull request may close this issue.

1 participant