1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-30 23:44:55 +02:00
This commit is contained in:
Laurent Cozic
2020-12-28 17:26:15 +00:00
parent 0e0de1207f
commit 34a99f738c
3 changed files with 6 additions and 6 deletions

View File

@ -71,7 +71,7 @@ app.use(async (ctx: Koa.Context) => {
}
} catch (error) {
if (error.httpCode >= 400 && error.httpCode < 500) {
appLogger().error(error.httpCode + ': ' + `${ctx.request.method} ${ctx.path}` + ' : ' + error.message);
appLogger().error(`${error.httpCode}: ` + `${ctx.request.method} ${ctx.path}` + ` : ${error.message}`);
} else {
appLogger().error(error);
}