diff --git a/apps/api/src/services/queues/data-gathering/data-gathering.service.ts b/apps/api/src/services/queues/data-gathering/data-gathering.service.ts index 8e38f02dd..010fe5f90 100644 --- a/apps/api/src/services/queues/data-gathering/data-gathering.service.ts +++ b/apps/api/src/services/queues/data-gathering/data-gathering.service.ts @@ -348,7 +348,7 @@ export class DataGatheringService { }); } } catch (error) { - this.logger.error(error.message); + this.logger.error(error?.message); } return undefined;