]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Exception object was not supplied there
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 14 Jan 2016 17:51:46 +0000 (18:51 +0100)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 14 Jan 2016 17:51:46 +0000 (18:51 +0100)
lib/action.php

index 03751c6f77a9eb7e391c09fd04d58ccecfd990d0..68019ce108c444afd0e40e0cce85fb235859a600 100644 (file)
@@ -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);
     }