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:
parent
0e4e31d733
commit
cbcf5f6d44
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user