]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
a little bit more explicit logging
authorMikael Nordfeldth <mmn@hethane.se>
Mon, 28 Mar 2016 14:41:29 +0000 (16:41 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Mon, 28 Mar 2016 14:41:29 +0000 (16:41 +0200)
plugins/OStatus/classes/Ostatus_profile.php

index c370462685890992eef02d94c879a3c157ad083a..d84611ec168832c3e36518b5d2452117c49df60d 100644 (file)
@@ -1302,8 +1302,8 @@ class Ostatus_profile extends Managed_DataObject
         if ($avatar && !isset($ptag)) {
             try {
                 $this->updateAvatar($avatar);
-            } catch (Exception $ex) {
-                common_log(LOG_WARNING, "Exception updating OStatus profile avatar: " . $ex->getMessage());
+            } catch (Exception $e) {
+                common_log(LOG_WARNING, 'Exception ('.get_class($e).') updating OStatus profile avatar: ' . $e->getMessage());
             }
         }
     }