PR Comments: make FatalErrorsService.add() private
This commit is contained in:
parent
0c107086a6
commit
fe9e6e62df
|
@ -78,7 +78,7 @@ export class FatalErrorsService {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public add: FatalErrorsSetup['add'] = (error, source?) => {
|
private add: FatalErrorsSetup['add'] = (error, source?) => {
|
||||||
const errorInfo = getErrorInfo(error, source);
|
const errorInfo = getErrorInfo(error, source);
|
||||||
|
|
||||||
this.errorInfo$.next(errorInfo);
|
this.errorInfo$.next(errorInfo);
|
||||||
|
|
Loading…
Reference in a new issue