Skip to content

Commit

Permalink
Merge pull request #15 from sdatko/node-AttributeError-fix
Browse files Browse the repository at this point in the history
Catch AttributeError from node
  • Loading branch information
bregman-arie authored Mar 21, 2022
2 parents b188988 + 157cfd3 commit b73c614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion devnest/lib/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ def _get_reservation_info(self):
owner,
reprovision_pending)

except (TypeError, ValueError):
except (AttributeError, TypeError, ValueError):
LOG.debug('Could not read reservation data for node %s,'
' invalid json format: %s' % (self.get_name(),
offline_cause_reason))
Expand Down

0 comments on commit b73c614

Please sign in to comment.