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)) {
|
if ($avatar && !isset($ptag)) {
|
||||||
try {
|
try {
|
||||||
$this->updateAvatar($avatar);
|
$this->updateAvatar($avatar);
|
||||||
} catch (Exception $ex) {
|
} catch (Exception $e) {
|
||||||
common_log(LOG_WARNING, "Exception updating OStatus profile avatar: " . $ex->getMessage());
|
common_log(LOG_WARNING, 'Exception ('.get_class($e).') updating OStatus profile avatar: ' . $e->getMessage());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user