Skip to content

Commit

Permalink
Use proper variable for error message
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Johnson <ben@binarylogic.com>
  • Loading branch information
binarylogic committed Apr 10, 2024
1 parent 01efe66 commit e80b1ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trinnov_altitude/trinnov_altitude.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ async def _sync(self):
self.dim = message.state
elif isinstance(message, messages.ErrorMessage):
self.logger.error(
f"Trinnov Altitude responsed with error: {error.error}"
f"Trinnov Altitude responsed with error: {message.error}"
)
elif isinstance(message, messages.PresetMessage):
self.presets[message.index] = message.name
Expand Down

0 comments on commit e80b1ce

Please sign in to comment.