fix(errors): require passing stack traces explicitly in ng2 own code
This commit is contained in:
4
modules/angular2/src/core/application.js
vendored
4
modules/angular2/src/core/application.js
vendored
@ -259,8 +259,8 @@ export function bootstrap(appComponentType: Type,
|
||||
bootstrapProcess.resolve(new ApplicationRef(componentRef, appComponentType, appInjector));
|
||||
},
|
||||
|
||||
(err) => {
|
||||
bootstrapProcess.reject(err)
|
||||
(err, stackTrace) => {
|
||||
bootstrapProcess.reject(err, stackTrace)
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user