Skip to content

Commit cfbfb3e

Browse files
committed
Revert "catch AttributeError vs RuntimeError"
This reverts commit 9d98d81.
1 parent 3d0721e commit cfbfb3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/hal/user_comps/mqtt-publisher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def update_mqtt(self):
9191
for key in self.keys:
9292
try:
9393
data[key] = hal.get_value(key)
94-
except AttributeError as e:
94+
except RuntimeError as e:
9595
# Only print warning once
9696
if key not in missing:
9797
print(f"warning: Missing pin {key} not sent to MQTT")

0 commit comments

Comments
 (0)