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

Loading…
Cancel
Save