Page MenuHomeDevCentral

D338.id802.diff
No OneTemporary

D338.id802.diff

diff --git a/app/Jobs/SendMessageToBroker.php b/app/Jobs/SendMessageToBroker.php
--- a/app/Jobs/SendMessageToBroker.php
+++ b/app/Jobs/SendMessageToBroker.php
@@ -9,6 +9,7 @@
use Broker;
use Event;
+use Log;
class SendMessageToBroker extends Job {
@@ -86,6 +87,7 @@
->sendMessage($this->message);
} catch (\Exception $ex) {
$this->exception = $ex;
+ Log::error($ex);
}
}
diff --git a/app/Listeners/PhabricatorListener.php b/app/Listeners/PhabricatorListener.php
--- a/app/Listeners/PhabricatorListener.php
+++ b/app/Listeners/PhabricatorListener.php
@@ -10,6 +10,7 @@
use Nasqueron\Notifications\Phabricator\PhabricatorAPIException;
use Event;
+use Log;
class PhabricatorListener {
///
@@ -70,6 +71,7 @@
);
} catch (PhabricatorAPIException $ex) {
$actionToReport->attachError(new ActionError($ex));
+ Log::error($ex);
}
Event::fire(new ReportEvent($actionToReport));

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 07:07 (11 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259658
Default Alt Text
D338.id802.diff (1021 B)

Event Timeline