biocommons / eutils

simplified searching, fetching, and parsing records from NCBI using their E-utilities interface
Apache License 2.0
58 stars 25 forks source link

include error message from XML parser when can't parse NCBI response #143

Closed diekhans closed 7 years ago

diekhans commented 7 years ago

This helps address #142

reece commented 7 years ago

@diekhans Thanks for the PR.

Would you please change the except Exception, ex to except Exception as ex? The former is 2.x only, and the latter works on both. See https://www.python.org/dev/peps/pep-3110/#compatibility-issues for more info.

reece commented 7 years ago

Look good. Thanks Mark!