Changed log warning to debug

This commit is contained in:
allegroai 2019-06-15 00:30:51 +03:00
parent ac9aba9242
commit f8fa394f43

View File

@ -76,7 +76,9 @@ class Detector(object):
return get_command_output(command, path)
except (CalledProcessError, UnicodeDecodeError) as ex:
_logger.warning(
_logger.warning("Can't get {} information for {} repo in {}".format(name, self.type_name, path))
# full details only in debug
_logger.debug(
"Can't get {} information for {} repo in {}: {}".format(
name, self.type_name, path, str(ex)
)