Skip to content

Commit 5000455

Browse files
committed
chore: Remove RequestTimeoutException import in BackendsService
1 parent 029989f commit 5000455

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/backends/backends.service.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import {
33
HttpException,
44
HttpStatus,
55
Injectable,
6-
RequestTimeoutException,
76
UnprocessableEntityException,
87
} from '@nestjs/common';
98
import { ModuleRef } from '@nestjs/core';
@@ -155,7 +154,7 @@ export class BackendsService extends AbstractQueueProcessor {
155154
},
156155
);
157156
result[identity.identity._id] = executedJob;
158-
} catch (err: HttpException) {
157+
} catch (err: any & HttpException) {
159158
this.logger.error(`Error while syncing identity ${identity.identity._id}`, err);
160159
result[identity.identity._id] = {
161160
...err.response,

0 commit comments

Comments
 (0)