From 1dac69e9b0bc1d12c45d2a6e49b9890f29b744cb Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Fri, 20 Apr 2018 21:40:12 +0200 Subject: [PATCH] Show backtrace when decode() aborts due to an error. The backtrace printing was actually already there, but was emitted using sr_dbg(), which doesn't show up by default for most users. Make it an srd_err() so that most users will see it. This fixes bug #1158. --- exception.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exception.c b/exception.c index b440758..8058fbf 100644 --- a/exception.c +++ b/exception.c @@ -144,7 +144,7 @@ SRD_PRIV void srd_exception_catch(const char *format, ...) /* Log the detailed stack trace. */ if (tracefmt_str) { - srd_dbg("%s", tracefmt_str); + srd_err("%s", tracefmt_str); g_free(tracefmt_str); } -- 2.30.2