summaryrefslogtreecommitdiff
path: root/packages/backend/src
diff options
context:
space:
mode:
authorrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>2025-11-25 10:20:06 +0900
committerGitHub <noreply@github.com>2025-11-25 10:20:06 +0900
commit1e5592a5bd01ab5db8330e39a6bfe2118861a436 (patch)
tree46bf36267ba585b3cd84ba4efa8073918c15acd8 /packages/backend/src
parentfix(frontend): ナビゲーションバーを下に表示しているとき... (diff)
downloadmisskey-1e5592a5bd01ab5db8330e39a6bfe2118861a436.tar.gz
misskey-1e5592a5bd01ab5db8330e39a6bfe2118861a436.tar.bz2
misskey-1e5592a5bd01ab5db8330e39a6bfe2118861a436.zip
fix(deps): update [backend] update dependencies [ci skip] (#16801)
* fix(deps): update [backend] update dependencies * fix types --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: kakkokari-gtyih <67428053+kakkokari-gtyih@users.noreply.github.com>
Diffstat (limited to 'packages/backend/src')
-rw-r--r--packages/backend/src/server/web/ClientServerService.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/backend/src/server/web/ClientServerService.ts b/packages/backend/src/server/web/ClientServerService.ts
index 3cd83efa1a..f9d904f3cd 100644
--- a/packages/backend/src/server/web/ClientServerService.ts
+++ b/packages/backend/src/server/web/ClientServerService.ts
@@ -50,7 +50,7 @@ import { AnnouncementEntityService } from '@/core/entities/AnnouncementEntitySer
import { FeedService } from './FeedService.js';
import { UrlPreviewService } from './UrlPreviewService.js';
import { ClientLoggerService } from './ClientLoggerService.js';
-import type { FastifyInstance, FastifyPluginOptions, FastifyReply } from 'fastify';
+import type { FastifyError, FastifyInstance, FastifyPluginOptions, FastifyReply } from 'fastify';
const _filename = fileURLToPath(import.meta.url);
const _dirname = dirname(_filename);
@@ -918,7 +918,7 @@ export class ClientServerService {
return await renderBase(reply);
});
- fastify.setErrorHandler(async (error, request, reply) => {
+ fastify.setErrorHandler<FastifyError>(async (error, request, reply) => {
const errId = randomUUID();
this.clientLoggerService.logger.error(`Internal error occurred in ${request.routeOptions.url}: ${error.message}`, {
path: request.routeOptions.url,