Skip to content

Commit

Permalink
formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
dboulware committed May 6, 2024
1 parent bfb6e9b commit 8a732a8
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scos_actions/hardware/sigan_iface.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,13 @@ def healthy(self, num_samples: int = 56000, retries: int = 3) -> bool:
break
except BaseException as e:
retries -= 1
logger.debug("Unable to acquire samples during health check. Retrying...")
logger.debug(
"Unable to acquire samples during health check. Retrying..."
)
if retries == 0:
logger.exception("Unable to acquire samples from device during health check.")
logger.exception(
"Unable to acquire samples from device during health check."
)
return False

if not len(data) == num_samples:
Expand Down

0 comments on commit 8a732a8

Please sign in to comment.