medallyon / grogsile.org-archive

The (old) Official Bot For ESO International
https://discordapp.com/invite/0jGipOeWW06jNmlL
Apache License 2.0
1 stars 0 forks source link

Find Unknown Cause of UnhandledPromiseRejectionWarnings #51

Closed medallyon closed 7 years ago

medallyon commented 7 years ago

UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): Error: 500 Internal Server Error```
medallyon commented 7 years ago

This can be solved by including a trailing .catch(console.error) to every promise in the source code.