Skip to content

Commit

Permalink
Remove try/except when launching jupyverse
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbrochart committed Sep 6, 2023
1 parent b86dfc7 commit 740cc93
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions plugins/auth_jupyterhub/fps_auth_jupyterhub/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@
def launch():
service_url = unquote(os.environ.get("JUPYTERHUB_SERVICE_URL"))
url = urlparse(service_url)
try:
return main.callback(
open_browser=True,
host=url.hostname,
port=url.port,
set_=(
f"frontend.base_url={url.path}",
f"app.mount_path={url.path}",
),
disable=[],
)
except Exception:
return
return main.callback(
open_browser=True,
host=url.hostname,
port=url.port,
set_=(
f"frontend.base_url={url.path}",
f"app.mount_path={url.path}",
),
disable=[],
)

0 comments on commit 740cc93

Please sign in to comment.