From c3efa5663a0fd006a1e9d772d6d0b557b8a9c6d8 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Tue, 12 Nov 2013 17:10:56 +0100 Subject: [PATCH] MT#4229 Still log the error causing a 500. --- lib/NGCP/Panel/Controller/Root.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/NGCP/Panel/Controller/Root.pm b/lib/NGCP/Panel/Controller/Root.pm index 7b00f826a6..e64962906a 100644 --- a/lib/NGCP/Panel/Controller/Root.pm +++ b/lib/NGCP/Panel/Controller/Root.pm @@ -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;