Distinguish notice saving errors from others for Salmon

This commit is contained in:
Mikael Nordfeldth
2016-01-16 22:36:42 +01:00
parent 4678546d33
commit deda83fdef
3 changed files with 20 additions and 1 deletions

View File

@@ -109,6 +109,8 @@ class SalmonAction extends Action
// duplicate? Maybe someone's database is out of sync?
// Let's just accept it and move on.
common_log(LOG_INFO, 'Salmon slap carried an event which had already been fulfilled.');
} catch (NoticeSaveException $e) {
common_debug('Notice::saveActivity did not save our '._ve($this->activity->verb).' activity, trying old-fashioned salmon saving.');
}
try {