Merge pull request 'bugfix: muevo titulo de error al panel, agrego repositorio a gitlab error' (#23) from bugfix/add-debug-error-info-2 into main
Publish to PyPI / Publish-to-PyPI (push) Successful in 18s
Publish to PyPI / Publish-to-PyPI (push) Successful in 18s
Reviewed-on: #23
This commit was merged in pull request #23.
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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="")
|
||||
|
||||
Reference in New Issue
Block a user