mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-06-09 20:02:11 +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:
commit
9ad8fe33b0
@ -116,7 +116,7 @@ def git_shorthash_from_head() -> str:
|
|||||||
out, err = git_cmd.communicate()
|
out, err = git_cmd.communicate()
|
||||||
|
|
||||||
except Exception as e:
|
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:
|
else:
|
||||||
shorthash = out.decode().rstrip('\n')
|
shorthash = out.decode().rstrip('\n')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user