fix(errors): require passing stack traces explicitly in ng2 own code

This commit is contained in:
Yegor Jbanov
2015-05-19 12:48:00 -07:00
parent 5c88f662cd
commit 8ab773538b
11 changed files with 112 additions and 75 deletions

View File

@ -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)
});
});