Skip to content

Commit

Permalink
show error description
Browse files Browse the repository at this point in the history
  • Loading branch information
cooper committed Mar 7, 2017
1 parent 7b1eea4 commit 09c7a8c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Ferret.pm
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@ sub space {
# do the file
do $file or do {
if ($@) {
die "error in $file: ".$@->description."\n" if ref $@;
local $@ = "\n $@" if !index($@, 'error in');
die "error in $file: $@\n";
return;
Expand Down

0 comments on commit 09c7a8c

Please sign in to comment.