Silenced healthcheck caused warning

This commit is contained in:
simonmicro 2023-05-06 18:06:07 +02:00
parent 474c5feb6d
commit 6da4791b31
No known key found for this signature in database
GPG key ID: 033A4D4CE4E063D6

View file

@ -481,7 +481,7 @@ class kmsServerHandler(socketserver.BaseRequestHandler):
try:
self.data = self.request.recv(1024)
if self.data == '' or not self.data:
pretty_printer(log_obj = loggersrv.warning,
pretty_printer(log_obj = loggersrv.debug, # use debug, as the healthcheck will spam this
put_text = "{reverse}{yellow}{bold}No data received.{end}")
break
except socket.error as e: