Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14378365
D13269.id32089.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
525 B
Referenced Files
None
Subscribers
None
D13269.id32089.diff
View Options
diff --git a/src/applications/ponder/editor/PonderVoteEditor.php b/src/applications/ponder/editor/PonderVoteEditor.php
--- a/src/applications/ponder/editor/PonderVoteEditor.php
+++ b/src/applications/ponder/editor/PonderVoteEditor.php
@@ -25,7 +25,7 @@
public function saveVote() {
$actor = $this->requireActor();
if (!$this->votable) {
- throw new Exception(pht('Must set votable before saving vote.'));
+ throw new PhutilInvalidStateException('setVotable');
}
$votable = $this->votable;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 2:06 AM (20 h, 48 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6916307
Default Alt Text
D13269.id32089.diff (525 B)
Attached To
Mode
D13269: Use PhutilInvalidStateException
Attached
Detach File
Event Timeline
Log In to Comment