diff --git a/lib/MetaCPAN/Contest/Vote/Votes.pm b/lib/MetaCPAN/Contest/Vote/Votes.pm index 30e8b57..3605969 100644 --- a/lib/MetaCPAN/Contest/Vote/Votes.pm +++ b/lib/MetaCPAN/Contest/Vote/Votes.pm @@ -16,7 +16,7 @@ has vote_storage => ( sub BUILD { my ($self) = @_; - confess "storage directory isn't writable" + confess "storage directory '@{[ $self->vote_storage ]}' isn't writable" unless -w $self->vote_storage; }