We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df914ef commit 6559425Copy full SHA for 6559425
1 file changed
packages/core/src/error_handler.ts
@@ -46,7 +46,7 @@ export class ErrorHandler {
46
*/
47
rethrowError: boolean;
48
49
- constructor(rethrowError: boolean = true) { this.rethrowError = rethrowError; }
+ constructor(rethrowError: boolean = false) { this.rethrowError = rethrowError; }
50
51
handleError(error: any): void {
52
this._console.error(`EXCEPTION: ${this._extractMessage(error)}`);
@@ -71,8 +71,6 @@ export class ErrorHandler {
71
}
72
73
74
- // We rethrow exceptions, so operations like 'bootstrap' will result in an error
75
- // when an error happens. If we do not rethrow, bootstrap will always succeed.
76
if (this.rethrowError) throw error;
77
78
0 commit comments