We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78d3b0c commit 8ecd702Copy full SHA for 8ecd702
git-cl
@@ -2058,7 +2058,8 @@ def clutil_handle_branch_creation_failure() -> None:
2058
temp_unstash_args.all = True
2059
temp_unstash_args.force = True
2060
cl_unstash(temp_unstash_args)
2061
- except Exception as restore_error:
+ except (OSError, subprocess.CalledProcessError,
2062
+ json.JSONDecodeError) as restore_error:
2063
print(f"Error restoring stashes: {restore_error}")
2064
print("You may need to manually unstash: git cl unstash --all")
2065
0 commit comments