File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
IntegrationErrorType ,
5
5
ServerError ,
6
6
} from '../models' ;
7
- import { errorLogger } from './logger.util' ;
7
+ import { errorLogger , warnLogger } from './logger.util' ;
8
8
9
9
export const throwAndDelegateError = (
10
10
error : AxiosError | DelegateToFrontedError | ServerError | Error ,
@@ -69,9 +69,9 @@ export const throwAndDelegateError = (
69
69
}
70
70
71
71
if ( errorType !== undefined ) {
72
- errorLogger (
72
+ warnLogger (
73
73
'throwAndDelegateError' ,
74
- `Delegating error to frontend with code ${ DELEGATE_TO_FRONTEND_CODE } and type ${ errorType } ` ,
74
+ `Delegating crm error to frontend with code ${ DELEGATE_TO_FRONTEND_CODE } and type ${ errorType } ` ,
75
75
apiKey ,
76
76
) ;
77
77
throw new ServerError ( DELEGATE_TO_FRONTEND_CODE , errorType ) ;
You can’t perform that action at this time.
0 commit comments