ensureHub on 422 status code (Superfeedr error on non-existing topic)

This commit is contained in:
Mikael Nordfeldth
2017-04-30 10:29:16 +02:00
parent b20b9727cf
commit 16880de8f6
2 changed files with 24 additions and 21 deletions

View File

@@ -45,7 +45,7 @@ class PushInQueueHandler extends QueueHandler
} catch(NoResultException $e) {
common_log(LOG_INFO, "Discarding POST to unknown feed subscription id {$feedsub_id}");
} catch(Exception $e) {
common_log(LOG_ERR, "Exception during PuSH input processing for {$feedsub->getUri()}: " . $e->getMessage());
common_log(LOG_ERR, "Exception "._ve(get_class($e))." during PuSH input processing for {$feedsub->getUri()}: " . $e->getMessage());
}
return true;
}