You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-17 01:12:23 +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()
|
CATCH_FATAL()
|
||||||
{
|
{
|
||||||
LOG_FMT(
|
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();
|
result = errorCode();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user