summaryrefslogtreecommitdiffstats
path: root/script/borg-restore.pl
diff options
context:
space:
mode:
Diffstat (limited to 'script/borg-restore.pl')
-rwxr-xr-xscript/borg-restore.pl2
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);
};
}