Skip to content

Commit

Permalink
Merge pull request #8 from melexis/fail_gracefully_no_snapshots
Browse files Browse the repository at this point in the history
The try-except clause needs to stretch out a bit
  • Loading branch information
SteinHeselmans authored Aug 28, 2018
2 parents e25c89c + cbca5af commit c3a14bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlx/coverity.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def process_coverity_nodes(app, doctree, fromdocname):
checker=node['checker'], impact=node['impact'], kind=node['kind'],
classification=node['classification'], action=node['action'],
component=node['component'], cwe=node['cwe'], cid=node['cid'])
except URLError as e:
except (URLError, AttributeError) as e:
report_warning(env, 'failed with %s' % e)
continue
report_info(env, "%d received" % (defects['totalNumberOfRecords']))
Expand Down

0 comments on commit c3a14bd

Please sign in to comment.