Skip to content

Commit b72f342

Browse files
sanspacehansl
authored andcommitted
fix(@schematics/angular): Add error handling to bootstrapping logic (#109)
This one is recommended in the style guide. https://angular.io/guide/styleguide#style-02-05 If it's part of the blueprint, it'd be better.
1 parent 1327e49 commit b72f342

File tree

1 file changed

+2
-1
lines changed
  • packages/schematics/angular/application/files/__path__

1 file changed

+2
-1
lines changed

packages/schematics/angular/application/files/__path__/main.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ if (environment.production) {
88
enableProdMode();
99
}
1010

11-
platformBrowserDynamic().bootstrapModule(AppModule);
11+
platformBrowserDynamic().bootstrapModule(AppModule)
12+
.catch(err => console.log(err));

0 commit comments

Comments
 (0)