We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d0721e commit cfbfb3eCopy full SHA for cfbfb3e
1 file changed
src/hal/user_comps/mqtt-publisher.py
@@ -91,7 +91,7 @@ def update_mqtt(self):
91
for key in self.keys:
92
try:
93
data[key] = hal.get_value(key)
94
- except AttributeError as e:
+ except RuntimeError as e:
95
# Only print warning once
96
if key not in missing:
97
print(f"warning: Missing pin {key} not sent to MQTT")
0 commit comments