Permalink
Browse files

Report all errors to sentry

  • Loading branch information...
jkelin committed Aug 18, 2018
1 parent c94b098 commit 743d7aafc013ffebd5dbd8cb222dc9a055a4e2e7
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/logger.ts
View
@@ -9,6 +9,10 @@ class SentryTransport {
level: level,
data: data
});
if(level === 'error' || level === 'fatal' || level === 'exception') {
Raven.captureException(new Error(message));
}
}
}

0 comments on commit 743d7aa

Please sign in to comment.