Mute 'Waiting for Celery task' logging
This commit is contained in:
parent
eff7cd2f07
commit
27df10cb5d
|
@ -130,6 +130,8 @@ class CeleryManager {
|
||||||
static::_processTaskMessage($task, $message);
|
static::_processTaskMessage($task, $message);
|
||||||
} catch (CeleryTimeoutException $e) {
|
} catch (CeleryTimeoutException $e) {
|
||||||
Logging::warn($e->getMessage());
|
Logging::warn($e->getMessage());
|
||||||
|
} catch (CeleryException $e) {
|
||||||
|
// Don't log these - they end up clogging up the logs
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
// Because $message->result can be either an object or a string, sometimes
|
// Because $message->result can be either an object or a string, sometimes
|
||||||
// we get a json_decode error and end up here
|
// we get a json_decode error and end up here
|
||||||
|
|
Loading…
Reference in New Issue