Skip to content

Commit

Permalink
Merge branch 'blakeblackshear:dev' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
weitheng authored Oct 30, 2024
2 parents 20ae609 + e4a6b29 commit 69116e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frigate/comms/mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _on_connect(
"""Mqtt connection callback."""
threading.current_thread().name = "mqtt"
if reason_code != 0:
if reason_code == "Server Unavailable":
if reason_code == "Server unavailable":
logger.error(
"Unable to connect to MQTT server: MQTT Server unavailable"
)
Expand Down

0 comments on commit 69116e3

Please sign in to comment.