Skip to content

Commit 131794d

Browse files
committed
improve raven setup comment
1 parent 39405c5 commit 131794d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ var SolidusServer = function( options ){
102102
}));
103103
// catch-all middleware at the end of the stack for 404 handling
104104
router.use( router.router );
105-
// log express errors to sentry if defined
105+
// log express errors to sentry
106+
// log uncaught exceptions to sentry and exit
106107
if( SENTRY_DSN ){
107108
router.use( raven.middleware.express( SENTRY_DSN ) );
108109
var raven_client = solidus_server.raven_client = new raven.Client( SENTRY_DSN );

0 commit comments

Comments
 (0)