Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15354151
D15229.id36754.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
855 B
Referenced Files
None
Subscribers
None
D15229.id36754.diff
View Options
diff --git a/src/applications/diffusion/controller/DiffusionServeController.php b/src/applications/diffusion/controller/DiffusionServeController.php
--- a/src/applications/diffusion/controller/DiffusionServeController.php
+++ b/src/applications/diffusion/controller/DiffusionServeController.php
@@ -78,6 +78,8 @@
try {
$remote_addr = $request->getRemoteAddress();
+ throw new Exception('dds');
+
$pull_event = id(new PhabricatorRepositoryPullEvent())
->setEpoch(PhabricatorTime::getNow())
->setRemoteAddress($remote_addr)
@@ -100,7 +102,7 @@
->setResultCode(500)
->setProperties(
array(
- 'exception.class' => $ex->getClass(),
+ 'exception.class' => get_class($ex),
'exception.message' => $ex->getMessage(),
));
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 12, 2:17 AM (1 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7568780
Default Alt Text
D15229.id36754.diff (855 B)
Attached To
Mode
D15229: unbreak exception handling
Attached
Detach File
Event Timeline
Log In to Comment