From 2e77b0dc158dc256e59df78c3606dee68b1e055e Mon Sep 17 00:00:00 2001 From: Alex 'AdUser' Z Date: Sat, 26 Dec 2015 21:04:23 +1000 Subject: [PATCH] * LDV::Zerobin->prune : fix error message --- lib/LDV/Imgbin.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/LDV/Imgbin.pm b/lib/LDV/Imgbin.pm index a2eb76d..7bccafe 100644 --- a/lib/LDV/Imgbin.pm +++ b/lib/LDV/Imgbin.pm @@ -168,6 +168,7 @@ sub prune { unlink $self->_thumb_path($time); } 1; } or do { + chomp $@; $self->app->log->error($@); $@ =~ s/\s+ at \s+ .+ \s+ line \s+ \d+//oxi; $self->flash(error => $@);