We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39405c5 commit 131794dCopy full SHA for 131794d
1 file changed
lib/server.js
@@ -102,7 +102,8 @@ var SolidusServer = function( options ){
102
}));
103
// catch-all middleware at the end of the stack for 404 handling
104
router.use( router.router );
105
- // log express errors to sentry if defined
+ // log express errors to sentry
106
+ // log uncaught exceptions to sentry and exit
107
if( SENTRY_DSN ){
108
router.use( raven.middleware.express( SENTRY_DSN ) );
109
var raven_client = solidus_server.raven_client = new raven.Client( SENTRY_DSN );
0 commit comments