fix(ivy): remove debugger statement (#24480)

PR Close #24480
This commit is contained in:
Misko Hevery 2018-06-13 09:02:26 -07:00 committed by Miško Hevery
parent c2b5ebfa24
commit 70ef061fa6
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ export class NullInjector implements Injector {
if (notFoundValue === _THROW_IF_NOT_FOUND) {
// Intentionally left behind: With dev tools open the debugger will stop here. There is no
// reason why correctly written application should cause this exception.
debugger;
// TODO(misko): uncomment the next line once `ngDevMode` works with closure.
// if(ngDevMode) debugger;
throw new Error(`NullInjectorError: No provider for ${stringify(token)}!`);
}
return notFoundValue;