summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2025-05-06 21:20:31 -0400
committerHazelnoot <acomputerdog@gmail.com>2025-05-08 11:23:20 -0400
commit34e0d73a60686d25fc496366c2fdb13c6288b63a (patch)
treee83f7c9152b98a2b4578eee1521f43f0622a4500
parentadd missing "return reply" calls to async fastify routes (diff)
downloadsharkey-34e0d73a60686d25fc496366c2fdb13c6288b63a.tar.gz
sharkey-34e0d73a60686d25fc496366c2fdb13c6288b63a.tar.bz2
sharkey-34e0d73a60686d25fc496366c2fdb13c6288b63a.zip
differentiate between "error" and "exception" in mastodon API
-rw-r--r--packages/backend/src/server/api/mastodon/MastodonLogger.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/server/api/mastodon/MastodonLogger.ts b/packages/backend/src/server/api/mastodon/MastodonLogger.ts
index 8581e30a9a..ef8788f9b7 100644
--- a/packages/backend/src/server/api/mastodon/MastodonLogger.ts
+++ b/packages/backend/src/server/api/mastodon/MastodonLogger.ts
@@ -34,7 +34,7 @@ export class MastodonLogger {
const path = getPath(request);
// Exceptions are always server errors, and should therefore always be logged.
- this.logger.error(`Error in mastodon endpoint ${request.method} ${path}:`, ex);
+ this.logger.error(`Exception in mastodon endpoint ${request.method} ${path}:`, ex);
}
}