Page MenuHomePhabricator

D13333.diff
No OneTemporary

D13333.diff

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

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)

Event Timeline