From: Mikael Nordfeldth Date: Mon, 28 Mar 2016 14:41:29 +0000 (+0200) Subject: a little bit more explicit logging X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d4041a4a1fe610d0466f7af6f14177348754d430;p=quix0rs-gnu-social.git a little bit more explicit logging --- diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index c370462685..d84611ec16 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -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()); } } }