Skip to content

Commit 770a6e1

Browse files
committed
🥅 add configuration error
1 parent 59bcd55 commit 770a6e1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/models/integration-error.model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export enum IntegrationErrorType {
77
INTEGRATION_ERROR_FORBIDDEN = 'integration/error/forbidden',
88
INTEGRATION_ERROR_UNAVAILABLE = 'integration/error/unavailable',
99
INTEGRATION_ERROR_LICENSE_ACCESS_LIMITED = 'integration/error/license-access-limited',
10+
INTEGRATION_CONFIGURATION_ERROR = 'integration/configuration-error',
1011

1112
ENTITY_ERROR_CONFLICT = 'entity/error/conflict',
1213
ENTITY_NOT_FOUND = 'entity/not-found',

src/util/error.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ export const throwAndDelegateError = (
7373
'throwAndDelegateError',
7474
`Delegating crm error to frontend with code ${DELEGATE_TO_FRONTEND_CODE} and type ${errorType}`,
7575
apiKey,
76+
logMessage,
7677
);
7778
throw new ServerError(DELEGATE_TO_FRONTEND_CODE, errorType);
7879
}

0 commit comments

Comments
 (0)