diff --git a/src/applications/ponder/editor/PonderVoteEditor.php b/src/applications/ponder/editor/PonderVoteEditor.php index 2edb186787..9b9085eeab 100644 --- a/src/applications/ponder/editor/PonderVoteEditor.php +++ b/src/applications/ponder/editor/PonderVoteEditor.php @@ -25,7 +25,7 @@ final class PonderVoteEditor extends PhabricatorEditor { 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;