Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768191
D338.id802.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1021 B
Referenced Files
None
Subscribers
None
D338.id802.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D338: Log some handled exceptions
Attached
Detach File
Event Timeline
Log In to Comment