Revize df9fd2d0
Přidáno uživatelem Martin Forejt před téměř 4 roky(ů)
aswi2021vochomurka/service/mqtt/mqtt_subscriber.py | ||
---|---|---|
26 | 26 |
self.write_to_file(m) |
27 | 27 |
except ParseException as error: |
28 | 28 |
print('invalid message data format') |
29 |
client.unsubscribe(message.topic) |
|
29 | 30 |
# TODO better reaction on bad format |
30 | 31 |
pass |
31 | 32 |
|
Také k dispozici: Unified diff
Re #8731 - unsubscribe client on error