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.
2 parents 8159f98 + 0961b3c commit 477d7bfCopy full SHA for 477d7bf
jupyterlab_github/__init__.py
@@ -103,7 +103,8 @@ def get(self, path=''):
103
104
except HTTPError as err:
105
self.set_status(err.code)
106
- self.finish(err.response.body)
+ message = err.response.body if err.response else str(err.code)
107
+ self.finish(message)
108
109
def _maybe_get_next_page_path(self, response):
110
# If there is a 'Link' header in the response, we
0 commit comments