A little bit more debugging.

This commit is contained in:
Mikael Nordfeldth 2014-10-25 14:23:15 +02:00
parent 8dba84bd76
commit 57b5e2483d

View File

@ -1344,7 +1344,7 @@ class OStatusPlugin extends Plugin
$oprofile = $oprofile->checkAuthorship($activity); $oprofile = $oprofile->checkAuthorship($activity);
$profile = $oprofile->localProfile(); $profile = $oprofile->localProfile();
} catch (Exception $e) { } catch (Exception $e) {
common_log(LOG_ERR, 'Could not get a profile or check authorship ('.get_class($e).': "'.$e->getMessage().'")'); common_log(LOG_ERR, 'Could not get a profile or check authorship ('.get_class($e).': "'.$e->getMessage().'") for activity ID: '.$activity->id);
$profile = null; $profile = null;
return false; return false;
} }