1
0
mirror of https://github.com/musix-org/musix-oss synced 2025-07-07 10:40:49 +00:00

additional error logging and debugging.

This commit is contained in:
MatteZ02
2020-06-22 00:41:30 +03:00
parent 70316495f5
commit 2d7752d2cf
18 changed files with 126 additions and 87 deletions

View File

@ -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);
};