projects
/
koha_ffzg
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffc6730
)
Bug 8743 follow-up, throw a more explanatory error message
author
Paul Poulain
<paul.poulain@biblibre.com>
Fri, 14 Sep 2012 13:59:50 +0000
(15:59 +0200)
committer
Paul Poulain
<paul.poulain@biblibre.com>
Fri, 14 Sep 2012 13:59:50 +0000
(15:59 +0200)
When testing bug 8743, I discovered a missing index in my authority file.
The error message was
"CCL parsing error (10014) Unknown qualifier ZOOM"
which is not very helpfull because it does not show the query that was made.
This patch add the query itself after the zebra error
C4/Search.pm
patch
|
blob
|
history
diff --git
a/C4/Search.pm
b/C4/Search.pm
index
d9b53ac
..
91bfbb0
100644
(file)
--- a/
C4/Search.pm
+++ b/
C4/Search.pm
@@
-248,7
+248,7
@@
sub SimpleSearch {
. $@->code() . ") "
. $@->addinfo() . " "
. $@->diagset();
- warn $error;
+ warn $error
." for query: $query"
;
return ( $error, undef, undef );
}
}