mirror of
https://github.com/musix-org/musix-oss
synced 2026-03-17 04:40:59 +00:00
additional error logging and debugging.
This commit is contained in:
@@ -9,3 +9,9 @@ console.log = function (arg) {
|
||||
oldConsole.log(arg);
|
||||
if (!client.config.devMode) webhookClient.send(arg);
|
||||
};
|
||||
|
||||
oldConsole.error = console.error;
|
||||
console.error = function (arg) {
|
||||
oldConsole.error(arg);
|
||||
if (!client.config.devMode) webhookClient.send(arg);
|
||||
};
|
||||
Reference in New Issue
Block a user