Skip to content

Commit

Permalink
Elevate log level for failed connections (#9965)
Browse files Browse the repository at this point in the history
  • Loading branch information
ofek committed Aug 24, 2021
1 parent 669f56c commit 9654059
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tcp_check/datadog_checks/tcp_check/tcp_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def addr(self):
try:
self.resolve_ip()
except Exception as e:
self.log.debug(str(e))
self.log.error(str(e))
msg = "URL: {} could not be resolved".format(self.host)
raise CheckException(msg)
return self._addr
Expand Down

0 comments on commit 9654059

Please sign in to comment.