Page MenuHomePhabricator

D13269.id32066.diff
No OneTemporary

D13269.id32066.diff

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

Mime Type
text/plain
Expires
Mar 20 2025, 12:55 PM (5 w, 17 h ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7389828
Default Alt Text
D13269.id32066.diff (525 B)

Event Timeline