Page MenuHomePhabricator

D13269.id.diff
No OneTemporary

D13269.id.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
Wed, Oct 16, 12:21 AM (3 w, 6 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6715068
Default Alt Text
D13269.id.diff (525 B)

Event Timeline