Skip to content

Unhandled exception when testing node/health during healthCheck #176

@meyns

Description

@meyns

Trying to run the healthCheck but apparently REST was not running fine yet and I got this exception:

2021-03-01T20:55:21.627Z info Testing http://localhost:3000/node/health
(node:3362394) UnhandledPromiseRejectionWarning: #
(node:3362394) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:3362394) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
2021-03-01T20:55:21.643Z warn Rest http://localhost:3000/node/health is NOT up and running YET: {"statusCode":503,"statusMessage":"Service Unavailable","body":"{"status":{"apiNode":"down","db":"up"}}"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions