Skip to content

Commit

Permalink
Merge pull request #443 from banesullivan-kobold/patch-1
Browse files Browse the repository at this point in the history
Prevent failed entrypoints from spoiling the bunch
  • Loading branch information
yuvipanda authored Jun 12, 2024
2 parents f7a860d + df73f8f commit 23dde35
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion jupyter_server_proxy/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,11 @@ def get_entrypoint_server_processes(serverproxy_config):
sps = []
for entry_point in entry_points(group="jupyter_serverproxy_servers"):
name = entry_point.name
server_process_config = entry_point.load()()
try:
server_process_config = entry_point.load()()
except Exception as e:
warn(f"entry_point {name} was unable to be loaded: {str(e)}")
continue
sps.append(make_server_process(name, server_process_config, serverproxy_config))
return sps

Expand Down

0 comments on commit 23dde35

Please sign in to comment.