From 27df10cb5d8a834e60e21c5ec9fdcdbdc5857aff Mon Sep 17 00:00:00 2001 From: Duncan Sommerville Date: Fri, 27 Nov 2015 17:22:05 -0500 Subject: [PATCH] Mute 'Waiting for Celery task' logging --- airtime_mvc/application/common/CeleryManager.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/airtime_mvc/application/common/CeleryManager.php b/airtime_mvc/application/common/CeleryManager.php index 2f27dd3d4..065da9009 100644 --- a/airtime_mvc/application/common/CeleryManager.php +++ b/airtime_mvc/application/common/CeleryManager.php @@ -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