Skip to content

Commit c4f9aee

Browse files
committed
avoid duplicate logging of initialization exception to stderr
1 parent 7427f22 commit c4f9aee

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Diff for: src/scripts/interceptor.js

+1-7
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,4 @@
208208

209209
// run the original application entry point
210210

211-
try {
212-
require(process.argv[1]);
213-
}
214-
catch (e) {
215-
console.error('Application has failed during initialization:\n' + (e.stack || (new Error(e).stack)));
216-
throw e;
217-
}
211+
require(process.argv[1]);

0 commit comments

Comments
 (0)