projects
/
Biblio-Z3950.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0cf61cc
)
dump whole error structure instead of HASH
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 12 Feb 2013 15:57:47 +0000
(16:57 +0100)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Tue, 12 Feb 2013 15:57:47 +0000
(16:57 +0100)
server.pl
patch
|
blob
|
history
diff --git
a/server.pl
b/server.pl
index
5823549
..
fc807ae
100755
(executable)
--- a/
server.pl
+++ b/
server.pl
@@
-64,7
+64,7
@@
diag "SearchHandle ",Dumper($self);
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};