Skip to content

Commit edde147

Browse files
committed
logging critical errors to console
1 parent fca6ead commit edde147

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.DS_Store
2+
.idea
23
coverage
34
node_modules

lib/sourcebit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ class Sourcebit {
271271
} catch (error) {
272272
this.log(`An error occurred when processing the plugins: ${error.message}.`, 'fail');
273273

274-
this.debug(error);
274+
console.error(error);
275275

276276
finishTransform();
277277

0 commit comments

Comments
 (0)