Log database errors for later debugging.
Log database errors for later debugging.

If a database error occurs put the query and the resulting error in
the log file.

tcmitchell/geni-ar,charliemeyer/geni-ar,tcmitchell/geni-ar,charliemeyer/geni-ar,tcmitchell/geni-ar,GENI-NSF/geni-ar,tcmitchell/geni-ar,tcmitchell/geni-ar,GENI-NSF/geni-ar,GENI-NSF/geni-ar,charliemeyer/geni-ar,charliemeyer/geni-ar,charliemeyer/geni-ar,GENI-NSF/geni-ar,GENI-NSF/geni-ar