Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15408482
D13333.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
774 B
Referenced Files
None
Subscribers
None
D13333.diff
View Options
diff --git a/src/workflow/ArcanistCloseWorkflow.php b/src/workflow/ArcanistCloseWorkflow.php
--- a/src/workflow/ArcanistCloseWorkflow.php
+++ b/src/workflow/ArcanistCloseWorkflow.php
@@ -18,13 +18,13 @@
private function getStatusOptions() {
if ($this->statusData === null) {
- throw new Exception(pht('Call %s first!', 'loadStatusData()'));
+ throw new PhutilInvalidStateException('loadStatusData');
}
return idx($this->statusData, 'statusMap');
}
private function getDefaultClosedStatus() {
if ($this->statusData === null) {
- throw new Exception(pht('Call %s first!', 'loadStatusData()'));
+ throw new PhutilInvalidStateException('loadStatusData');
}
return idx($this->statusData, 'defaultClosedStatus');
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Mar 19, 11:27 PM (4 w, 1 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7695879
Default Alt Text
D13333.diff (774 B)
Attached To
Mode
D13333: Use PhutilInvalidStateException
Attached
Detach File
Event Timeline
Log In to Comment