Page MenuHomePhabricator

D13269.id32089.diff
No OneTemporary

D13269.id32089.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
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)

Event Timeline