Commit 991a74e5 authored by Lukas Jelonek's avatar Lukas Jelonek
Browse files

Report dbxrefs with AttributeErrors

parent 51f84a07
......@@ -58,7 +58,7 @@ def retrieve(dbxrefs, basic=True, sequence=True, organism=True, annotation=True,
if features:
output['features'] = read_features(child)
except KeyError:
except (KeyError, AttributeError) as e:
logger.warn('Error in retrieving %s', str(entry))
except RuntimeError as e:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment