We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 190e64a commit 1808089Copy full SHA for 1808089
client/src/addon_manager/services/logging.service.ts
@@ -25,7 +25,10 @@ export const logger = winston.createLogger({
25
winston.format.errors({ stack: true }),
26
winston.format.printf((message) => {
27
const level = padText(message.level, 9);
28
- const category = padText(message.defaultMeta.category, 18);
+ const category = padText(
29
+ message?.defaultMeta?.category ?? "GENERAL",
30
+ 18
31
+ );
32
if (typeof message.message === "object")
33
return `[${
34
message.timestamp
0 commit comments