Files
CHOMPStation2/code/_helpers/stack_trace.dm
2025-09-14 20:05:26 +02:00

5 lines
275 B
Plaintext

/// gives us the stack trace from CRASH() without ending the current proc.
/// Do not call directly, use the [stack_trace] macro instead.
/proc/_stack_trace(message, file, line)
CRASH("[message][WORKAROUND_IDENTIFIER][json_encode(list(file, line))][WORKAROUND_IDENTIFIER]")