From aabdb666b7b84a259d48a39012710d9b95178c3b Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 3 Mar 2024 22:03:25 +0000 Subject: [PATCH] err msg --- packages/backend/src/core/FetchInstanceMetadataService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/core/FetchInstanceMetadataService.ts b/packages/backend/src/core/FetchInstanceMetadataService.ts index a1313fc257..4dc81cd6be 100644 --- a/packages/backend/src/core/FetchInstanceMetadataService.ts +++ b/packages/backend/src/core/FetchInstanceMetadataService.ts @@ -75,7 +75,7 @@ export class FetchInstanceMetadataService { const _instance = await this.federatedInstanceService.fetch(host); const now = Date.now(); if (_instance && _instance.infoUpdatedAt && (now - _instance.infoUpdatedAt.getTime() < REMOTE_SERVER_CACHE_TTL)) { - throw new Error('Skip because updated recently'); + throw new Error(`Skip because updated recently ${_instance.infoUpdatedAt.toJSON()}`); } }