We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5b53672 commit b09fa00Copy full SHA for b09fa00
src/ghstack/github_utils.py
@@ -95,7 +95,10 @@ def get_github_repo_info(
95
except RuntimeError as e:
96
# Check if this is a repository access error (NOT_FOUND)
97
error_msg = str(e)
98
- if "Could not resolve to a Repository" in error_msg and "NOT_FOUND" in error_msg:
+ if (
99
+ "Could not resolve to a Repository" in error_msg
100
+ and "NOT_FOUND" in error_msg
101
+ ):
102
raise RuntimeError(
103
f"Original error: {error_msg}\n\n"
104
f"Could not access repository '{name_with_owner['owner']}/{name_with_owner['name']}'. "
0 commit comments