One of the big hammers I use when #debugging a program that prints an error message from an unknown location is to configure stdout to log a traceback/stacktrace when a particular substring is printed. https://dafoster.net/articles/2025/03/13/dump-traceback-on-print/
@davidfstr That’s a neat hammer to add to the toolbox. Thanks!