mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-02-03 13:21:32 +02:00
Fix error handling in build-code binary.
120a49b6 improved the error handling but due to a copy/pasto errors were being handled as asserts, which tripped an assertion in the log module.
This commit is contained in:
parent
19f3a1d304
commit
2fffd64213
@ -96,7 +96,8 @@ main(const int argListSize, const char *const argList[])
|
||||
CATCH_FATAL()
|
||||
{
|
||||
LOG_FMT(
|
||||
errorTypeCode(&AssertError) ? logLevelAssert : logLevelError, errorCode(), "%s\n%s", errorMessage(), errorStackTrace());
|
||||
errorCode() == errorTypeCode(&AssertError) ? logLevelAssert : logLevelError, errorCode(), "%s\n%s", errorMessage(),
|
||||
errorStackTrace());
|
||||
|
||||
result = errorCode();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user