diff options
Diffstat (limited to 'script')
-rwxr-xr-x | script/borg-restore.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/borg-restore.pl b/script/borg-restore.pl index c349df0..d6e97e5 100755 --- a/script/borg-restore.pl +++ b/script/borg-restore.pl @@ -198,7 +198,7 @@ sub logger_setup { return if($^S); local $Log::Log4perl::caller_depth = $Log::Log4perl::caller_depth + 1; - Log::Log4perl->get_logger()->fatal(@_); + Log::Log4perl->get_logger()->fatal("Uncaught exception: ".$_[0], @_[1..$#_]); exit(2); }; } |