I’m trying to write a discord bot, and am having trouble debugging a crash. Because glitch auto-restarts on crash, the in-browser log gets filled with startup stuff, erasing what was there before.
it seems like there should be a simple way to see the last error that caused glitch to restart.
I’ve looked at logging tools such as winston, but it seems too extensive for what I need.Has anyone else solved this issue, or have suggestions on how to handle crash logs specifically?