Commit d4041a4a authored by mmn's avatar mmn

a little bit more explicit logging

parent 16517f01
......@@ -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());
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment