StayPresent v1.6.0 Adds Crash Log Viewer to Status Page, No SSH Needed
StayPresent v1.6.0 introduces a built-in crash log feature that captures bot stdout and stderr into a ring buffer, making recent output accessible directly from the platform's status page. Previously, bot output was passed straight through to the parent console, meaning logs could scroll past and be lost before a developer noticed a crash. The new ring buffer retains recent log lines per bot while keeping memory usage bounded, regardless of how long the bot has been running. When a crash occurs, the status page's admin view now displays a tail of recent output alongside the exit code, eliminating the need for shell access to diagnose the failure. Developers should note that bots now always receive False from sys.stdout.isatty(), since piped streams are required to enable the capture functionality.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in