From: Mikael Nordfeldth Date: Thu, 14 Jan 2016 17:51:46 +0000 (+0100) Subject: Exception object was not supplied there X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b530d385bcd8bd70c17fe8f2ce0307f653a0e4d2;p=quix0rs-gnu-social.git Exception object was not supplied there --- diff --git a/lib/action.php b/lib/action.php index 03751c6f77..68019ce108 100644 --- a/lib/action.php +++ b/lib/action.php @@ -1456,7 +1456,7 @@ class Action extends HTMLOutputter // lawsuit $this->endDocument('json'); break; default: - common_log(LOG_ERR, 'Handled '.get_class($e).' but cannot output into desired format: '._ve($e->getMessage())); + common_log(LOG_ERR, 'Handled serverError ('._ve($code).') but cannot output into desired format ('._ve($this->format).'): '._ve($msg)); } exit((int)$code); @@ -1512,7 +1512,7 @@ class Action extends HTMLOutputter // lawsuit echo $msg; break; default: - common_log(LOG_ERR, 'Handled '.get_class($e).' but cannot output into desired format: '._ve($e->getMessage())); + common_log(LOG_ERR, 'Handled clientError ('._ve($code).') but cannot output into desired format ('._ve($this->format).'): '._ve($msg)); } exit((int)$code); }