Skip to content

Commit 89741e0

Browse files
committed
Fix linter error
1 parent e445f1b commit 89741e0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

stackdriver-errors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
if(config.version) {
5252
this.serviceContext.version = config.version;
5353
}
54-
this.reportUncaughtExceptions = !(config.reportUncaughtExceptions === false);
54+
this.reportUncaughtExceptions = config.reportUncaughtExceptions !== false;
5555
this.disabled = config.disabled || false;
5656

5757
// Register as global error handler if requested
@@ -61,7 +61,7 @@
6161

6262
window.onerror = function(message, source, lineno, colno, error) {
6363
if(error){
64-
that.report(error);
64+
that.report(error);
6565
}
6666
oldErrorHandler(message, source, lineno, colno, error);
6767
return true;

0 commit comments

Comments
 (0)