You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-05-22 10:15:16 +02:00
Add stderr to unit test error messages.
Messages on stderr were being lost due to the error suppression used to customize the error message. Also update the formatting to be more informative and concise.
This commit is contained in:
@@ -233,7 +233,9 @@ sub endRetry
|
||||
if ($self->{bSuppressError})
|
||||
{
|
||||
&log(DEBUG, "suppressed error was ${iExitStatus}");
|
||||
$self->{strErrorLog} = '';
|
||||
|
||||
# Make a copy of the suppressed error log in case it is needed
|
||||
$self->{strSuppressedErrorLog} = $self->{strErrorLog};
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user