Comparing version 1.1.4 to 1.1.5
@@ -23,4 +23,8 @@ var Logger, | ||
output = 1 <= arguments.length ? __slice.call(arguments, 0) : []; | ||
if (this.logLevel === "info") { | ||
return console.log.apply(console, ["" + LOG_PREFIX + ": "].concat(__slice.call(output))); | ||
try { | ||
if (this.logLevel === "info") { | ||
return console.log.apply(console, ["" + LOG_PREFIX + ": "].concat(__slice.call(output))); | ||
} | ||
} catch (e) { | ||
} | ||
@@ -32,4 +36,8 @@ }; | ||
output = 1 <= arguments.length ? __slice.call(arguments, 0) : []; | ||
if (this.logLevel === "warn" || this.logLevel === "info") { | ||
return console.log.apply(console, ["" + LOG_PREFIX + ": "].concat(__slice.call(output))); | ||
try { | ||
if (this.logLevel === "warn" || this.logLevel === "info") { | ||
return console.log.apply(console, ["" + LOG_PREFIX + ": "].concat(__slice.call(output))); | ||
} | ||
} catch (e) { | ||
} | ||
@@ -41,4 +49,8 @@ }; | ||
output = 1 <= arguments.length ? __slice.call(arguments, 0) : []; | ||
if (this.logLevel != null) { | ||
return console.error.apply(console, ["" + LOG_PREFIX + ": "].concat(__slice.call(output))); | ||
try { | ||
if (this.logLevel != null) { | ||
return console.error.apply(console, ["" + LOG_PREFIX + ": "].concat(__slice.call(output))); | ||
} | ||
} catch (e) { | ||
} | ||
@@ -45,0 +57,0 @@ }; |
{ | ||
"name": "bugsnag", | ||
"description": "Bugsnag notifier for node.js scripts", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"main": "./lib/bugsnag.js", | ||
@@ -6,0 +6,0 @@ "homepage": "http://bugsnag.com", |
Sorry, the diff of this file is not supported yet
70977
579