1
0
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:
David Steele
2021-01-24 08:23:59 -05:00
parent f95850c546
commit 5cb9f166ec
2 changed files with 25 additions and 3 deletions
@@ -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
{