MT#4229 Still log the error causing a 500.

gjungwirth/fix_tests
Andreas Granig 12 years ago
parent b914ad7d99
commit c3efa5663a

@ -125,6 +125,7 @@ sub end :Private {
my $incident_id = sprintf '%X', $incident->strftime('%s%N');
my $incident_timestamp = DateTime::Format::RFC3339->new->format_datetime($incident);
my $crash_state;
$c->log->error(join(q(), @{ $c->error }));
if ($c->config->{log_crash_state}) {
local $Data::Dumper::Indent = 1;
local $Data::Dumper::Useqq = 1;

Loading…
Cancel
Save