mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-19 08:05:01 +00:00
Add extra debug logging
This commit is contained in:
parent
a7d9bc63d7
commit
a46c38aacd
1 changed files with 3 additions and 1 deletions
|
@ -103,11 +103,13 @@ connect().then(async () => {
|
|||
getAllUsers: false,
|
||||
restMode: true,
|
||||
});
|
||||
client.setMaxListeners(100);
|
||||
client.setMaxListeners(200);
|
||||
|
||||
client.on("debug", message => {
|
||||
if (message.includes(" 429 ")) {
|
||||
logger.info(`[429] ${message}`);
|
||||
} else {
|
||||
logger.info(`[ERIS DEBUG] ${message}`);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue