Skip to content

v0.7.0

Compare
Choose a tag to compare
@sentry-probot sentry-probot released this 16 Jul 12:42
· 770 commits to master since this release

Breaking Changes:

  • We no longer exit your app by default. Before 0.7.0 we would call
    process.exit(1) after we caught and uncaught error. As of version 0.7.0 we
    no longer change electrons default behaviour which is showing a dialog with
    the error and keep the app alive. If you want to exit the app or do something
    else if a global uncaught error happens you have to set the onFatalError
    option in init like (we will send the error to Sentry before this is called):

    init({
      dsn: 'DSN',
      onFatalError: error => {
        // I really want to crash
        process.exit(1);
      },
    });