From ce1ab99ddc4ba5343b21088123d894b4e63c7e7f Mon Sep 17 00:00:00 2001 From: Jonathan Teran Date: Fri, 18 Sep 2026 11:26:55 -0300 Subject: [PATCH] bugfix: muevo titulo de error al panel, agrego repositorio a gitlab error --- src/git_flow/main.py | 4 +++- src/git_flow/remote/gitlab.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/git_flow/main.py b/src/git_flow/main.py index f9054c9..6414b9e 100755 --- a/src/git_flow/main.py +++ b/src/git_flow/main.py @@ -27,7 +27,9 @@ def main(): app() print() except GitFlowError as e: - base.io_error("".join(traceback.format_exception(e)), title="Git Flow: " + str(e)) + lines = [str(e), ""] + lines += traceback.format_exception(e) + base.io_error("".join(lines), title="Git Flow") except SubprocessError as e: base.io_error(str(e), title="Comando") except KeyboardInterrupt: diff --git a/src/git_flow/remote/gitlab.py b/src/git_flow/remote/gitlab.py index 312dd9d..1bc7ae2 100644 --- a/src/git_flow/remote/gitlab.py +++ b/src/git_flow/remote/gitlab.py @@ -45,7 +45,7 @@ class GitlabRemoteAPI(RemoteAPI): if response.ok: return "Tag creado exitosamente: " + tag else: - raise GitFlowError("Ocurrió un error al crear el tag: " + response.text) + raise GitFlowError("Ocurrió un error al crear el tag para repositorio " + quote(self.repository, safe="") + ": " + response.text) def get_endpoint(self, resource: str) -> str: project_id = quote(self.repository, safe="") -- 2.54.0