mirror of
https://codeberg.org/yeentown/barkey.git
synced 2025-07-07 20:44:34 +00:00
differentiate between "error" and "exception" in mastodon API
This commit is contained in:
parent
2c5fb36e7f
commit
34e0d73a60
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export class MastodonLogger {
|
||||||
const path = getPath(request);
|
const path = getPath(request);
|
||||||
|
|
||||||
// Exceptions are always server errors, and should therefore always be logged.
|
// 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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue