Skip to content

Commit 79f9922

Browse files
committed
0.2.198a
merging with other pull requests
1 parent 8cbb27d commit 79f9922

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

support/mqtt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ mqtt_error_handler () {
166166
[[ ${received^^} =~ .*NO ROUTE TO HOST.* ]] && return_value=1 && print_message="networking errors, no route to host - check username, password, and host address"
167167
[[ ${received^^} =~ .*CONNECTION REFUSED.* ]] && return_value=1 && print_message="mqtt broker refused connection - check username, password, and host address"
168168
[[ ${received^^} =~ .*NETWORK.* ]] && [[ ${received^^} =~ .*UNREACHABLE.* ]] && return_value=0 && print_message="network is down. enqueuing command to try again after a delay"
169+
[[ ${received^^} =~ .*LOOKUP ERROR.* ]] && return_value=0 && print_message="issue connecting to mqtt server (lookup error). enqueuing command to try again after a delay"
169170

170171
if [ -n "$last_error_message" ] && [ "$last_error_message" == "$print_message" ]; then
171172
#HERE, WE HAVE A REPEATED ERROR

0 commit comments

Comments
 (0)