Skip to content

Commit 465e718

Browse files
committed
remove extra logging
1 parent dec838d commit 465e718

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

support/mqtt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,6 @@ mqtt_error_handler () {
162162
return_value=1
163163

164164
if [ -n "$received" ]; then
165-
166-
echo "$received"
167-
168165
#ERRORS
169166
[[ ${received^^} =~ .*CONNECTION.* ]] && [[ ${received^^} =~ .*REFUSED.* ]] && return_value=1 && print_message="mqtt broker refused connection - check username, password, and host address"
170167
[[ ${received^^} =~ .*NETWORK.* ]] && [[ ${received^^} =~ .*UNREACHABLE.* ]] && return_value=0 && print_message="network is down. enqueuing command to try again after a delay"

0 commit comments

Comments
 (0)