1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-16 09:10:35 +03:00

Log git's absence at the INFO level, not ERROR

The ERROR log level is needlessly high for complaining about git not being installed, especially when we're running from an extracted source archive rather than a repo. Let's keep things calm and avoid polluting desktop session logs. The INFO log level is plenty.
This commit is contained in:
Forest 2021-09-17 17:26:22 -07:00 committed by Athanasius
parent 0e4e31d733
commit cbcf5f6d44
No known key found for this signature in database
GPG Key ID: AE3E527847057C7D

View File

@ -117,7 +117,7 @@ def git_shorthash_from_head() -> str:
out, err = git_cmd.communicate()
except Exception as e:
logger.error(f"Couldn't run git command for short hash: {e!r}")
logger.info(f"Couldn't run git command for short hash: {e!r}")
else:
shorthash = out.decode().rstrip('\n')