Skip to content

Commit 5d30178

Browse files
committed
Merge branch 'dev'
2 parents 2cc5281 + 4fab787 commit 5d30178

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

dist/logline.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ var LEVEL_CONSOLE_MAP = {
119119

120120
// throw out Errors, with global prefix 'Logline: ' ahead of err.message
121121
function throwError(errMessage) {
122-
throw new Error('Logline: ' + errMessage);
122+
HAS_CONSOLE && console.error('Logline: ' + errMessage);
123123
}
124124

125125
// print debug info in develper's console

0 commit comments

Comments
 (0)