xapian-bridge C port

endlessm/eos-sdk#2463
Print out the error message in this case.