krisppurg / dimscord

A Discord Bot & REST Library for Nim.
https://krisppurg.github.io/dimscord/
MIT License
222 stars 20 forks source link

Add more info in exception #77

Closed ire4ever1190 closed 2 years ago

ire4ever1190 commented 2 years ago

Adds the exception data into the exception message (I usually add this in myself when debugging)

Means users can give more useful error reports

krisppurg commented 2 years ago

Isn't that the same similar thing with the discordErrors proc in requester?

ire4ever1190 commented 2 years ago

That only happens if the response has code and message in it, this runs for every 400 error