This commit is contained in:
Skillz4Killz
2021-04-09 14:41:23 +00:00
committed by GitHub
parent 30e5f3ae22
commit 03d01463e1
4 changed files with 18 additions and 21 deletions
+1 -3
View File
@@ -21,9 +21,7 @@ export const rest = {
ratelimitedPaths: new Map(),
eventHandlers: {
// BY DEFAULT WE WILL LOG ALL ERRORS TO CONSOLE. USER CAN CHOOSE TO OVERRIDE
error: function (_type, error) {
console.error(error);
},
error: console.error,
// PLACEHOLDERS TO ALLOW USERS TO CUSTOMIZE
debug: function (_type, error) {},
fetching() {},