mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-07-21 06:02:04 -04:00
feat: structured logging (JSON) (#5118)
This commit is contained in:
parent
dd75890364
commit
b287a25de7
27 changed files with 186 additions and 239 deletions
|
@ -60,7 +60,7 @@ module.exports.apiKeySocketHandler = (socket) => {
|
|||
ok: true,
|
||||
});
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
log.error("apikeys", e);
|
||||
callback({
|
||||
ok: false,
|
||||
msg: e.message,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue