Advertisement
Babylonius

Untitled

Oct 1st, 2018
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.96 KB | None | 0 0
  1.  
  2. C:\Dev\OEbot>node app.js
  3. (node:21912) UnhandledPromiseRejectionWarning: TypeError: Converting circular structure to JSON
  4. at stringify (<anonymous>)
  5. at Snekfetch.send (C:\Dev\OEbot\node_modules\snekfetch\src\index.js:120:19)
  6. at APIRequest.gen (C:\Dev\OEbot\node_modules\discord.js\src\client\rest\APIRequest.js:46:15)
  7. at resolve (C:\Dev\OEbot\node_modules\discord.js\src\client\rest\RequestHandlers\Sequential.js:52:20)
  8. at new Promise (<anonymous>)
  9. at SequentialRequestHandler.execute (C:\Dev\OEbot\node_modules\discord.js\src\client\rest\RequestHandlers\Sequential.js:51:12)
  10. at SequentialRequestHandler.handle (C:\Dev\OEbot\node_modules\discord.js\src\client\rest\RequestHandlers\Sequential.js:94:10)
  11. at SequentialRequestHandler.push (C:\Dev\OEbot\node_modules\discord.js\src\client\rest\RequestHandlers\Sequential.js:41:10)
  12. at Promise (C:\Dev\OEbot\node_modules\discord.js\src\client\rest\RESTManager.js:26:15)
  13. at new Promise (<anonymous>)
  14. (node:21912) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
  15. (node:21912) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
  16. { DiscordAPIError: Invalid Form Body
  17. permission_overwrites[2].id: This field is required
  18. at item.request.gen.end (C:\Dev\OEbot\node_modules\discord.js\src\client\rest\RequestHandlers\Sequential.js:71:65)
  19. at then (C:\Dev\OEbot\node_modules\snekfetch\src\index.js:215:21)
  20. at <anonymous>
  21. at process._tickCallback (internal/process/next_tick.js:189:7)
  22. name: 'DiscordAPIError',
  23. message: 'Invalid Form Body\npermission_overwrites[2].id: This field is required',
  24. path: '/api/v7/guilds/123870919578877952/channels',
  25. code: 50035 }
  26. (node:21912) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'setParent' of undefined
  27. at run (C:\Dev\OEbot\events\messageReceivedEvent.js:122:16)
  28. at <anonymous>
  29. at process._tickCallback (internal/process/next_tick.js:189:7)
  30. (node:21912) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 4)
  31. events.js:183
  32. throw er; // Unhandled 'error' event
  33. ^
  34.  
  35. Error: socket hang up
  36. at createHangUpError (_http_client.js:331:15)
  37. at TLSSocket.socketOnEnd (_http_client.js:423:23)
  38. at emitNone (events.js:111:20)
  39. at TLSSocket.emit (events.js:208:7)
  40. at endReadableNT (_stream_readable.js:1064:12)
  41. at _combinedTickCallback (internal/process/next_tick.js:139:11)
  42. at process._tickCallback (internal/process/next_tick.js:181:9)
  43.  
  44. C:\Dev\OEbot>pause
  45. Press any key to continue . . .
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement