discord.js/src/rest
Kyra 3f81b613d8 fix: Handle async stacks correctly (#2744)
* fix: Capture stack traces in APIRouter to preserve async stack

* fix: Handle the stack trace better

* fix: Check if error is an instance of Error (5XX rejects with Result)

* fix: Error.captureStackTrace is not supported in all browsers
2018-08-16 19:51:21 +01:00
..
handlers fix(RequestHandler): provide proper route and method 2018-06-29 15:13:03 -05:00
APIRequest.js switch to node-fetch (#2587) 2018-06-19 20:10:55 +02:00
APIRouter.js fix: Handle async stacks correctly (#2744) 2018-08-16 19:51:21 +01:00
DiscordAPIError.js feat(DiscordAPIError): add method property (#2530) 2018-05-03 08:01:27 +02:00
RESTManager.js refactor: remove user bot methods (#2559) 2018-07-25 22:14:23 -04:00