Files
Bubberstation/code/modules/error_handler
Bloop d31faac13c Fixes stack_traces not displaying properly if the runtime happened too early (#87055)
## About The Pull Request

Just atomizing the misc fix I found in
<https://github.com/tgstation/tgstation/pull/86527> because I may not
get to finish that PR for a little bit, and this fix should go through
in the meantime because I encountered the bug _again_ with a separate
issue, resulting in no stack_traces, and it annoyed me.

Fixes runtimes showing with no stack_trace output because the error
handling proc itself was runtiming... (`/world/Error()`)


![365350779-3ee5e97a-0754-4615-ae9a-1daf39d8bde1](https://github.com/user-attachments/assets/1a1af09b-2143-483f-80eb-afeacf5772c1)

Besides the linked PR, another example of this happening was with
loadout datum collisions. So this should make debugging things like that
actually sane and normal again.

## Why It's Good For The Game

Fixes some order of operations nonsense (with the static var in question
not being initialized immediately) by initializing it explicitly here.
Stack traces are good.

## Changelog
Edit: backend issue
2024-11-11 00:43:37 -08:00
..