1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-20 10:57:37 +03:00

Merge pull request #1274 from foresto/patch-2

Log git's absence at the INFO level, not ERROR
This commit is contained in:
Athanasius 2021-09-18 09:13:18 +01:00 committed by GitHub
commit 9ad8fe33b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,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')