Files
source/sgp
40bf6326c8 report a caught exception at its own line, not at line 0
_ExceptionMessage builds the full call stack of the exception it was given
and then calls _FailMessage with "",0,"", so every caught sgp:: or
vfs::Exception produces an identical, locationless report - the bucket
telemetry will see most of and can act on least. Fail with the innermost
frame instead, which is the frame that knows where it came from.

That feeds a runtime-built string to a _FailMessage that passed it to
sprintf as the format string, so copy it bounded instead. AssertMsg call
sites already build messages out of game state, and a %s in one of those
would read arguments that were never passed.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-31 16:51:06 -03:00
..
2025-02-24 21:42:36 +02:00
2025-02-24 21:42:36 +02:00
2025-09-24 16:14:10 +03:00
2025-02-24 21:42:36 +02:00