So I am trying to figure out what part of my nodejs script is causing this warning to appear
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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
The issue is that Node is not telling me what line this is being triggered at - So I don't know how to fix it.
And I would really like to fix it before it becomes a bigger problem.
Is there away to get NodeJS to put line number when a warning like this is triggered?