Skip to content

Instantly share code, notes, and snippets.

@msacar
Last active August 29, 2021 12:24
Show Gist options
  • Save msacar/fc42fdf124115adbad93320a75d6a8e8 to your computer and use it in GitHub Desktop.
Save msacar/fc42fdf124115adbad93320a75d6a8e8 to your computer and use it in GitHub Desktop.
process.on('uncaughtException', err => {
console.log(`Uncaught Exception: ${err.message} ${err.stack}`)
process.exit(1)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment