Make REST server log XQuery exceptions for debugging. In the test cases you can't see the original error.
Make REST server log XQuery exceptions for debugging. In the test cases you can't see the original error.

svn path=/trunk/eXist/; revision=6980

MjAbuz/exist,MjAbuz/exist,jensopetersen/exist,patczar/exist,eXist-db/exist,jensopetersen/exist,dizzzz/exist,hungerburg/exist,ambs/exist,windauer/exist,jessealama/exist,joewiz/exist,olvidalo/exist,MjAbuz/exist,ljo/exist,adamretter/exist,eXist-db/exist,olvidalo/exist,dizzzz/exist,jensopetersen/exist,wshager/exist,zwobit/exist,kohsah/exist,wshager/exist,zwobit/exist,dizzzz/exist,wolfgangmm/exist,adamretter/exist,shabanovd/exist,wshager/exist,jensopetersen/exist,opax/exist,adamretter/exist,shabanovd/exist,lcahlander/exist,eXist-db/exist,RemiKoutcherawy/exist,patczar/exist,patczar/exist,joewiz/exist,jensopetersen/exist,zwobit/exist,jessealama/exist,RemiKoutcherawy/exist,eXist-db/exist,wolfgangmm/exist,adamretter/exist,windauer/exist,olvidalo/exist,lcahlander/exist,zwobit/exist,dizzzz/exist,ambs/exist,lcahlander/exist,RemiKoutcherawy/exist,dizzzz/exist,ljo/exist,opax/exist,windauer/exist,wshager/exist,opax/exist,hungerburg/exist,joewiz/exist,ambs/exist,windauer/exist,ljo/exist,patczar/exist,dizzzz/exist,ambs/exist,hungerburg/exist,jessealama/exist,olvidalo/exist,windauer/exist,eXist-db/exist,shabanovd/exist,joewiz/exist,kohsah/exist,olvidalo/exist,zwobit/exist,adamretter/exist,joewiz/exist,ljo/exist,patczar/exist,kohsah/exist,joewiz/exist,shabanovd/exist,jensopetersen/exist,hungerburg/exist,eXist-db/exist,wolfgangmm/exist,kohsah/exist,shabanovd/exist,jessealama/exist,MjAbuz/exist,RemiKoutcherawy/exist,lcahlander/exist,ljo/exist,zwobit/exist,MjAbuz/exist,wshager/exist,jessealama/exist,wolfgangmm/exist,hungerburg/exist,MjAbuz/exist,kohsah/exist,wolfgangmm/exist,lcahlander/exist,wshager/exist,ambs/exist,wolfgangmm/exist,ambs/exist,adamretter/exist,patczar/exist,ljo/exist,lcahlander/exist,shabanovd/exist,opax/exist,RemiKoutcherawy/exist,jessealama/exist,opax/exist,windauer/exist,RemiKoutcherawy/exist,kohsah/exist