Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15403854
D12124.id29170.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
687 B
Referenced Files
None
Subscribers
None
D12124.id29170.diff
View Options
diff --git a/src/applications/differential/editor/DifferentialTransactionEditor.php b/src/applications/differential/editor/DifferentialTransactionEditor.php
--- a/src/applications/differential/editor/DifferentialTransactionEditor.php
+++ b/src/applications/differential/editor/DifferentialTransactionEditor.php
@@ -249,6 +249,11 @@
case DifferentialAction::ACTION_CLAIM:
$object->setAuthorPHID($this->getActingAsPHID());
return;
+ default:
+ throw new Exception(
+ pht(
+ 'Differential action "%s" is not a valid action!',
+ $xaction->getNewValue()));
}
break;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 19, 5:08 AM (2 d, 3 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7309138
Default Alt Text
D12124.id29170.diff (687 B)
Attached To
Mode
D12124: Throw a more helpful error for bad Differential actions
Attached
Detach File
Event Timeline
Log In to Comment