mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-09-27 17:39:20 +08:00
feat: structured logging (JSON) (#5118)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user