Browse Source

* LDV::Zerobin->prune : fix error message

master
Alex 'AdUser' Z 9 years ago
parent
commit
2e77b0dc15
  1. 1
      lib/LDV/Imgbin.pm

1
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 => $@);

Loading…
Cancel
Save