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
Sat, Sep 21, 12:07 AM (21 h, 38 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6624437
Default Alt Text
D13269.id32089.diff (525 B)

Event Timeline