From 2252cbc3605bc026bf854883ed8a2c67fc187027 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 12 Aug 2025 14:06:03 -0700 Subject: Docs: use new log api --- docs/dev/bnil-modifying.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'docs/dev') diff --git a/docs/dev/bnil-modifying.md b/docs/dev/bnil-modifying.md index d2f0217a..5c2d2690 100644 --- a/docs/dev/bnil-modifying.md +++ b/docs/dev/bnil-modifying.md @@ -615,10 +615,8 @@ It can be exceedingly helpful to put your entire modification script inside a `t // Rethrowing the exception here might abort the program (if it is uncaught) // So you probably want to just eat the exception and print an angry message + LogErrorWithStackTraceF("Got an exception"); // 5.2 and later // throw; - char* trace = BNGetCurrentStackTraceString(); - LogErrorF("Got an exception {}", trace); - free(trace); } } ``` -- cgit v1.3.1