diff --git a/packages/backend/src/server/api/endpoints/admin/queue/deliver-delayed.ts b/packages/backend/src/server/api/endpoints/admin/queue/deliver-delayed.ts index cef6424b29..9079f66c79 100644 --- a/packages/backend/src/server/api/endpoints/admin/queue/deliver-delayed.ts +++ b/packages/backend/src/server/api/endpoints/admin/queue/deliver-delayed.ts @@ -63,7 +63,8 @@ export default class extends Endpoint { try { host = new URL(job.data.to).host; } catch (e) { - this.apiLoggerService.logger.warn(`failed to parse url '${job.data.to}': ${e}`); + this.apiLoggerService.logger.warn(`failed to parse url in ${job.id}: ${e}`); + this.apiLoggerService.logger.warn(`id: ${job.id}, data: ${JSON.stringify(job.data)}`); continue; } diff --git a/packages/backend/src/server/api/endpoints/admin/queue/inbox-delayed.ts b/packages/backend/src/server/api/endpoints/admin/queue/inbox-delayed.ts index 5413e215aa..f68fb83f11 100644 --- a/packages/backend/src/server/api/endpoints/admin/queue/inbox-delayed.ts +++ b/packages/backend/src/server/api/endpoints/admin/queue/inbox-delayed.ts @@ -63,7 +63,8 @@ export default class extends Endpoint { try { host = new URL(job.data.signature.keyId).host; } catch (e) { - this.apiLoggerService.logger.warn(`failed to parse url '${job.data.signature.keyId}': ${e}`); + this.apiLoggerService.logger.warn(`failed to parse url in ${job.id}: ${e}`); + this.apiLoggerService.logger.warn(`id: ${job.id}, data: ${JSON.stringify(job.data)}`); continue; }