Skip to content

Commit

Permalink
ENH: add proper exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
laborleben committed Aug 16, 2019
1 parent fa1df23 commit 14d977a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion basil/HL/julaboF32HD.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def get_status(self):
tmp = ret.split(" ", 1)
status = int(tmp[0])
status_str = tmp[1:]
except IndexError:
except (ValueError, AttributeError):
logging.warning("get_status() wrong format: {}".format(repr(ret)))
status = -99
status_str = ret
Expand Down

0 comments on commit 14d977a

Please sign in to comment.