No error stack trac
`
Any idea why it is not giving me the error trace from which file the error comes ?
Promise is correctly resolved
8 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
i await the promise...
it is, when i comment it no error is caused
oh found it, i didnt await it inside my handler:
bot.on(event.name, event.run);
thanks !
correctly is bot.on(event.name, async () => await event.run());
so it wasnt correctly resolved inside the handler
but inside the event it was 😄
bot.on(event.name, async (...args) => await event.run(bot, ...args));
good eye
still same problem mhmm---
@qjuh I now tried to debug it...
Still doesnt give the stack trace
i didnt set any limit (using throw Error also gives full trace)
which value to log ?
Error doesnt have this prop
it doesnt produce the whole stack, its only with using fetch in discord.js
code is looking fine
promise resolved
Error.stackTraceLimit 16
its about that it doesnt trace where the error comes, not about fetching it ^^
same goes for fetching channels
sorry its 10 😄
my eyes
`
this code should normaly give the stack trace
but i just get
this on the other hand outputs:
where it points correctly to my file