aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-12-08 14:22:48 +0100
committerMarcoFalke <falke.marco@gmail.com>2021-12-08 14:20:16 +0100
commitfa77f95c2ff4ae7761208d06bcbeb59650612367 (patch)
tree3246ff56ec34c154cb49f5aaea19d3f7710b7158 /src/util
parent577bd51a4b8de066466a445192c1c653872657e2 (diff)
fuzz: Fix RPC internal bug detection
Diffstat (limited to 'src/util')
-rw-r--r--src/util/check.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/check.h b/src/util/check.h
index e60088a2c6..b12527546c 100644
--- a/src/util/check.h
+++ b/src/util/check.h
@@ -33,11 +33,11 @@ class NonFatalCheckError : public std::runtime_error
do { \
if (!(condition)) { \
throw NonFatalCheckError( \
- strprintf("%s:%d (%s)\n" \
- "Internal bug detected: '%s'\n" \
+ strprintf("Internal bug detected: '%s'\n" \
+ "%s:%d (%s)\n" \
"You may report this issue here: %s\n", \
- __FILE__, __LINE__, __func__, \
(#condition), \
+ __FILE__, __LINE__, __func__, \
PACKAGE_BUGREPORT)); \
} \
} while (false)