Skip to content

Commit returns 'None' on failed config with commit_error_dialog_dict set#25

Open
nights99 wants to merge 1 commit intocafykit:developfrom
nights99:develop
Open

Commit returns 'None' on failed config with commit_error_dialog_dict set#25
nights99 wants to merge 1 commit intocafykit:developfrom
nights99:develop

Conversation

@nights99
Copy link

The problem comes when “if commit_error_dialog_dict is not None and alt_error_marker in commit_error_dialog_dict” case is hit, but then “if alt_error_marker in output:” is not hit – in the case where there was a commit error which is not the 'One or more commits have occurred from other' error.

If this path is hit, there is no ‘else’ case, so no output is returned and also no exception raised – i.e. there’s no way to tell anything about the commit result.

…lt_error_marker in commit_error_dialog_dict. case is hit, but then .if alt_error_marker in output:. is not hit . in the case where there was a commit error which is not the 'One or more commits have occurred from other' error.

If this path is hit, there is no .else. case, so no output is returned and also no exception raised . i.e. there.s no way to tell anything about the commit result.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant