Bug 8743 follow-up, throw a more explanatory error message

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

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Paul Poulain 2012-09-14 15:59:50 +02:00 committed by Jared Camins-Esakov
parent 6860e43126
commit 487436d907
1 changed files with 1 additions and 1 deletions

View File

@ -246,7 +246,7 @@ sub SimpleSearch {
. $@->code() . ") "
. $@->addinfo() . " "
. $@->diagset();
warn $error;
warn $error." for query: $query";
return ( $error, undef, undef );
}
}