TheRandomDog / ToonTracker-old

0 stars 0 forks source link

Some Exception Reports Too Long #3

Closed TheRandomDog closed 7 years ago

TheRandomDog commented 7 years ago

Tracebacks for exceptions are usually sent to a debug / spam channel in Discord, but sometimes certain types of exceptions (especially ones involving connection issues) are extremely long. Due to a limit in the number of characters you can send in one message, oftentimes the original error is obscured by Discord's 400 BAD REQUEST error.

If a traceback is longer than 2000 characters, some of the traceback should be cut out and the bot owner should be told to read the full exception in the console or logs.

TheRandomDog commented 7 years ago

Fixed through the power of HasteBin in 66483be.