From 62ef50117e6709166232e18f1007c381722eff4e Mon Sep 17 00:00:00 2001 From: Daniel Weindl Date: Fri, 18 Oct 2024 08:18:26 +0200 Subject: [PATCH] fix extended debug logging --- src/solver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/solver.cpp b/src/solver.cpp index 7dc3980c5c..118af4c8d7 100644 --- a/src/solver.cpp +++ b/src/solver.cpp @@ -27,7 +27,7 @@ void wrapErrHandlerFn( std::is_same::value, "Must update format string" ); // for debug builds, include full file path and line numbers -#ifdef NDEBUG +#ifndef NDEBUG snprintf(msg_buffer, BUF_SIZE, "%s:%d: %s (%d)", file, line, msg, err_code); #else snprintf(msg_buffer, BUF_SIZE, "%s", msg);