dvc: print version to debug log (#4666)

Related to #4664
This commit is contained in:
Ruslan Kuprieiev
2020-10-05 21:04:31 +03:00
committed by GitHub
parent 52fe76cefc
commit 3ffb6320ac
+4 -2
View File
@@ -101,9 +101,11 @@ def main(argv=None): # noqa: C901
from dvc.info import get_dvc_info
logger.exception("unexpected error")
logger.info(FOOTER)
dvc_info = get_dvc_info()
logger.info(dvc_info)
logger.debug("Version info for developers:\n%s", dvc_info)
logger.info(FOOTER)
ret = 255
try: