1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Perl error handler recognizes errors thrown from the C library.

This commit is contained in:
David Steele
2017-10-16 10:47:31 -04:00
parent f1e739b4aa
commit 904b83747c
18 changed files with 114 additions and 27 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ eval
or do
{
# If a backrest exception then return the code
exit $EVAL_ERROR->code() if (isException($EVAL_ERROR));
exit $EVAL_ERROR->code() if (isException(\$EVAL_ERROR));
# Else output the unhandled error
print $EVAL_ERROR;