mirror of
https://github.com/musix-org/musix-oss
synced 2025-07-07 10:40:49 +00:00
if devmode no logs will be sent
This commit is contained in:
@ -7,5 +7,5 @@ const oldConsole = {};
|
||||
oldConsole.log = console.log;
|
||||
console.log = function (arg) {
|
||||
oldConsole.log(arg);
|
||||
webhookClient.send(arg);
|
||||
if (!client.config.devMode) webhookClient.send(arg);
|
||||
};
|
||||
|
Reference in New Issue
Block a user