Browse Source

= hide error details

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

2
lib/LDV/Imgbin.pm

@ -169,6 +169,8 @@ sub prune {
unlink $self->_thumb_path($time); unlink $self->_thumb_path($time);
} 1; } 1;
} or do { } or do {
$self->app->log->error($@);
$@ =~ s/\s+ at \s+ .+ \s+ line \s+ \d+//oxi;
$self->flash(error => $@); $self->flash(error => $@);
}; };
$self->redirect_to('/imgbin'); $self->redirect_to('/imgbin');

Loading…
Cancel
Save