Skip to content

Commit

Permalink
dump whole error structure instead of HASH
Browse files Browse the repository at this point in the history
  • Loading branch information
dpavlin committed Feb 12, 2013
1 parent 0cf61cc commit 37c6085
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.pl
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ sub SearchHandle {
diag "using $module for $database ", Dumper( $from );

eval { $query = $rpn->{query}->render( $from->usemap ); };
warn "ERROR: $@" if $@;
warn "ERROR: ", Dumper($@) if $@;
if ( $@ && ref($@) ) { ## Did someone/something report any errors?
$self->{ERR_CODE} = $@->{errcode};
$self->{ERR_STR} = $@->{errstr};
Expand Down

0 comments on commit 37c6085

Please sign in to comment.