diff --git a/src/core/public/fatal_errors/fatal_errors_service.tsx b/src/core/public/fatal_errors/fatal_errors_service.tsx index e263c8012f47..d890ace5b5bb 100644 --- a/src/core/public/fatal_errors/fatal_errors_service.tsx +++ b/src/core/public/fatal_errors/fatal_errors_service.tsx @@ -78,7 +78,7 @@ export class FatalErrorsService { }); } - public add: FatalErrorsSetup['add'] = (error, source?) => { + private add: FatalErrorsSetup['add'] = (error, source?) => { const errorInfo = getErrorInfo(error, source); this.errorInfo$.next(errorInfo);