mirror of
https://github.com/laurent22/joplin.git
synced 2025-03-23 21:09:30 +02:00
linter
This commit is contained in:
parent
0e0de1207f
commit
34a99f738c
@ -71,7 +71,7 @@ app.use(async (ctx: Koa.Context) => {
|
|||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (error.httpCode >= 400 && error.httpCode < 500) {
|
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 {
|
} else {
|
||||||
appLogger().error(error);
|
appLogger().error(error);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user