hoodiehq / hoodie-server

:dog: Hapi plugin for Hoodie’s server core module
Apache License 2.0
243 stars 47 forks source link

Prevent unhandledpromiserejection warning #528

Closed minrwhite closed 7 years ago

minrwhite commented 7 years ago

The defined behaviour below is never called, and therefore the defined promise rejection is never handled, resulting in an UnhandledPromiseRejection warning on later versions of NodeJS when the test suite is run. This merge request fixes this issue.