Skip to content

"Exception Cmd('git') failed due to:" - not trigegring try:except #1584

Answered by Byron
rusnackor asked this question in Q&A
Discussion options

You must be logged in to vote

Nothing changes, the script still throws exception and fails. Is it possible to cover this case, and make it not to crash?

This would prevent the exception from stopping the program there, maybe there are other exceptions happening later due to the pull not being successful after all? Manually checking for this case would certainly be required to avoid exceptions.

Is it possible to make it, that it does not ask me for credentials every time? (like put them inside of my code)

There is some information about this in the Handling Remotes section of the docs.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@rusnackor
Comment options

@Byron
Comment options

Answer selected by Byron
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1583 on May 10, 2023 18:03.