Page MenuHomeDevCentral

D338.id1495.diff
No OneTemporary

D338.id1495.diff

diff --git a/app/Jobs/NotifyNewCommitsToDiffusion.php b/app/Jobs/NotifyNewCommitsToDiffusion.php
--- a/app/Jobs/NotifyNewCommitsToDiffusion.php
+++ b/app/Jobs/NotifyNewCommitsToDiffusion.php
@@ -10,6 +10,7 @@
use Event;
+use Log;
use PhabricatorAPI;
/**
@@ -96,6 +97,7 @@
} catch (PhabricatorAPIException $ex) {
$actionError = new ActionError($ex);
$this->actionToReport->attachError($actionError);
+ Log::error($ex);
}
}
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);
}
}

File Metadata

Mime Type
text/plain
Expires
Sun, Nov 24, 06:58 (13 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259446
Default Alt Text
D338.id1495.diff (940 B)

Event Timeline