Page 1 of 1

Error output hook

Posted: Tue May 29, 2018 10:39 am
by pastblasters
I am wondering if there exists any way to hook into the error output (the notifications that Ren'Py displays on screen when playing the game and experiencing an error or crash). I am working on some post-deployment analytics tools, and it would be very useful to be able to collect at least some of this information to be transmitted via HTTP. I've been playing around with ways to try and capture stderr in Python, but no techniques seem to be compatible with Ren'Py. Since Ren'Py itself is intercepting and displaying stack traces and error messages, I feel like there has to be some way this can be accomplished. Does anybody have an idea?

Re: Error output hook

Posted: Tue May 29, 2018 12:33 pm
by Ocelot
The only way is to modify RenPy source. It is not supported officially: viewtopic.php?f=8&t=50144#p487029

Re: Error output hook

Posted: Tue May 29, 2018 2:44 pm
by pastblasters
Well, shucks.