← back to backlog: scriba

log-exception: Automated Exception/Backtrace Capturing

status

To-do

type

Task

description

When an error occurs in Scheme, printing just the error message often loses the most valuable asset: the stack trace.

Feature: An exception-aware log macro (e.g., log-exception).

Mechanics: Create a macro or a handler wrapper that catches Guile exceptions, automatically extracts the structured stack trace components, and formats them cleanly inside the JSON or console layout.

scriba-15