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); unlink $self->_thumb_path($time);
} 1; } 1;
} or do { } or do {
chomp $@;
$self->app->log->error($@); $self->app->log->error($@);
$@ =~ s/\s+ at \s+ .+ \s+ line \s+ \d+//oxi; $@ =~ s/\s+ at \s+ .+ \s+ line \s+ \d+//oxi;
$self->flash(error => $@); $self->flash(error => $@);

Loading…
Cancel
Save