From 1df3ec0271d3ca198034b521231857ce797be68b Mon Sep 17 00:00:00 2001 From: Yanick Champoux Date: Mon, 26 Mar 2012 20:04:20 -0400 Subject: [PATCH] clarify error message --- lib/MetaCPAN/Contest/Vote/Votes.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }