You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-15 01:04:37 +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:
@ -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();
|
||||
}
|
||||
|
Reference in New Issue
Block a user