From 760fe8cfcc4e08d05d7e4501219c3638fa56d3a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=81=BE=E3=81=A3=E3=81=A1=E3=82=83=E3=81=A8=E3=83=BC?= =?UTF-8?q?=E3=81=AB=E3=82=85?= <17376330+u1-liquid@users.noreply.github.com> Date: Wed, 20 Sep 2023 02:57:08 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=AD=E3=83=A5=E3=83=BC=E3=81=AB=E4=BA=88?= =?UTF-8?q?=E6=9C=9F=E3=81=97=E3=81=AA=E3=81=84=E3=83=87=E3=83=BC=E3=82=BF?= =?UTF-8?q?=E3=81=8C=E5=85=A5=E3=81=A3=E3=81=A6=E3=81=84=E3=82=8B=E5=A0=B4?= =?UTF-8?q?=E5=90=88=E3=80=81=E3=82=A8=E3=83=B3=E3=83=89=E3=83=9D=E3=82=A4?= =?UTF-8?q?=E3=83=B3=E3=83=88URL=E3=81=AE=E3=83=91=E3=83=BC=E3=82=B9?= =?UTF-8?q?=E3=82=82=E3=82=A8=E3=83=A9=E3=83=BC=E3=83=AD=E3=82=B0=E3=81=AE?= =?UTF-8?q?=E4=BD=9C=E6=88=90=E3=82=82=E5=A4=B1=E6=95=97=E3=81=99=E3=82=8B?= =?UTF-8?q?=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3=20(MisskeyIO#168)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/server/api/endpoints/admin/queue/deliver-delayed.ts | 3 ++- .../src/server/api/endpoints/admin/queue/inbox-delayed.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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; }