caldav: leave some info about the exception we are catching

This commit is contained in:
Florian Schlichting 2017-04-28 17:43:13 +02:00 committed by Florian Schlichting
parent ebdd6b1674
commit b1191bd83c

View File

@ -154,7 +154,7 @@ try {
}
} catch (Exception $e) {
trace_bug('DAViCal Fatal Error');
trace_bug( 'DAViCal Fatal Error: ['.$e->getCode().'] '.$e->getmessage().' at '.$e->getFile().':'.$e->getLine() );
$request->DoResponse( 500, translate('DAViCal Fatal Error') );
}