Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3768170
D338.id1496.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
940 B
Referenced Files
None
Subscribers
None
D338.id1496.diff
View Options
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
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 07:01 (10 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259446
Default Alt Text
D338.id1496.diff (940 B)
Attached To
Mode
D338: Log some handled exceptions
Attached
Detach File
Event Timeline
Log In to Comment