fuzz: Fix RPC internal bug detection

This commit is contained in:
MarcoFalke
2021-12-08 14:22:48 +01:00
parent 577bd51a4b
commit fa77f95c2f
2 changed files with 6 additions and 4 deletions

View File

@@ -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)