Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mshustov committed Jan 20, 2020
1 parent 7be06dd commit a5332b3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/public/fatal_errors/fatal_errors_service.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,9 @@ export class FatalErrorsService {

public start() {
const { fatalErrors } = this;
if (!fatalErrors) throw new Error('FatalErrorsService#setup() must be invoked before start.');
if (!fatalErrors) {
throw new Error('FatalErrorsService#setup() must be invoked before start.');
}
return fatalErrors;
}

Expand Down

0 comments on commit a5332b3

Please sign in to comment.