jitesoft/yolog

[BUG] - Error callstack useless.

Closed this issue ยท 2 comments

Context

Due to the nature of nodejs, the callstack produced from the error object created inside the yolog instance, it is quite useless.

Expected outcome

Full callstack with calling class/method/etc to be printed as callstack.

Actual outcome

Callstack from when the error was created til the output.

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.94. Please mark this comment with ๐Ÿ‘ or ๐Ÿ‘Ž to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

Unsure how to fix this. Capturing callstack ahead of call is not sufficient as it will eat up a lot of memory. Possible "solution" is to just remove the callstack...