You've already forked pgbackrest
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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user