diff --git a/plugins/auth_jupyterhub/fps_auth_jupyterhub/launch.py b/plugins/auth_jupyterhub/fps_auth_jupyterhub/launch.py index b66acdab..e753b0bf 100644 --- a/plugins/auth_jupyterhub/fps_auth_jupyterhub/launch.py +++ b/plugins/auth_jupyterhub/fps_auth_jupyterhub/launch.py @@ -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=[], + )