From 04b0943e055e22241fab649645821e9846734149 Mon Sep 17 00:00:00 2001 From: Sam Duke Date: Tue, 31 Oct 2023 09:05:00 +0000 Subject: [PATCH] Add error code get_frozen_cmd.py --- src/stubber/commands/get_frozen_cmd.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/stubber/commands/get_frozen_cmd.py b/src/stubber/commands/get_frozen_cmd.py index ef569a0f..e7405611 100644 --- a/src/stubber/commands/get_frozen_cmd.py +++ b/src/stubber/commands/get_frozen_cmd.py @@ -47,6 +47,7 @@ def cli_get_frozen( if version: result = fetch_repos(version, CONFIG.mpy_path, CONFIG.mpy_lib_path) if not result: + log.error("Failed to fetch repos for version: {} for micropython folder: {} and micropython-lib folder: {}".format(version, CONFIG.mpy_path.as_posix(), CONFIG.mpy_lib_path.as_posix())) return -1 else: version = utils.clean_version(git.get_local_tag(CONFIG.mpy_path.as_posix()) or "0.0")