Created
October 20, 2020 22:34
-
-
Save kevinvdburgt/b9634311e37e83a0122539b4807fa2fd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const bootstrap = async (): Promise<void> => { | |
// Do stuff | |
}); | |
bootstrap().catch((error: Error) => { | |
// Send error to sentry or Slack | |
console.error(error); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment