https://blog.nate-lin.com/posts/build-a-javascript-async-function-error-handler-e1oi
Build a Javascript async function error handler