Mute 'Waiting for Celery task' logging

This commit is contained in:
Duncan Sommerville 2015-11-27 17:22:05 -05:00
parent eff7cd2f07
commit 27df10cb5d
1 changed files with 2 additions and 0 deletions

View File

@ -130,6 +130,8 @@ class CeleryManager {
static::_processTaskMessage($task, $message);
} catch (CeleryTimeoutException $e) {
Logging::warn($e->getMessage());
} catch (CeleryException $e) {
// Don't log these - they end up clogging up the logs
} catch (Exception $e) {
// Because $message->result can be either an object or a string, sometimes
// we get a json_decode error and end up here