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 authored and Athanasius committed 2021-09-18 09:14:11 +01:00
1 parent 0e4e31d733
commit cbcf5f6d44
1 file changed
+1 -1
+1 -1
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')