Skip to content

Commit

Permalink
Ignore failing to awake when already waking up
Browse files Browse the repository at this point in the history
  • Loading branch information
andchiind committed Feb 22, 2024
1 parent ceb88cb commit db6696f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/isar_exr/api/energy_robotics_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -458,6 +458,10 @@ def wake_up_robot(
dsl_gql(wake_up_robot_mutation), params
)
)
except TransportQueryError as e:
self.logger.warning(
f"Could not wake up robot as it is already in the process of waking up: {e}"
)
except Exception:
message: str = "Could not wake up robot"
self.logger.error(message)
Expand Down

0 comments on commit db6696f

Please sign in to comment.