Skip to content

Commit f3f82d5

Browse files
committed
debug
1 parent df9154c commit f3f82d5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nbviewer/providers/github/handlers.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,9 @@ async def get(self, user, repo, ref, path):
235235
example_file_url = contents[0]["html_url"]
236236

237237
if not example_file_url.startswith(self.github_url):
238-
raise ValueError("Url will never match it does not start with same domain.")
238+
raise ValueError(
239+
"Url will never match it does not start with same domain {self.github_url}, {example_file_url}."
240+
)
239241
ghu = (
240242
self.github_url if self.github_url.endswith("/") else self.github_url + "/"
241243
)

0 commit comments

Comments
 (0)