forked from GNUsocial/gnu-social
a little bit more explicit logging
This commit is contained in:
parent
16517f019a
commit
d4041a4a1f
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user