Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update log messages when testing for load_jupyter_server_extension method #212

Merged

Conversation

echarles
Copy link
Member

When checking in serverapp for load_jupyter_server_extension or _load_jupyter_server_extension, this PR reduces the scope of the except (only catch AttributeError and not other exceptions as this may hide other issues).

It also logs a warning if load_jupyter_server_extension instead of the preferred _load_jupyter_server_extension.

Copy link
Member

@Zsailer Zsailer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Zsailer Zsailer merged commit 7dbc701 into jupyter-server:master Apr 27, 2020
@echarles
Copy link
Member Author

Thx @Zsailer. I have just opened #213 as followup of this PR.

@blink1073 blink1073 added this to the 1.0 Release milestone Sep 17, 2020
Zsailer added a commit to Zsailer/jupyter_server that referenced this pull request Nov 18, 2022
* flatten kernel launch logic

* remove duplicated code for modes

* remove unnecessary comment

* cleanup some more comments

* revert name of mode methods in provisioner

* fix local mode method name

* condense mode specific methods to a single method in provisioner
hMED22 pushed a commit to hMED22/jupyter_server that referenced this pull request Jan 23, 2023
…ning-message

Update log messages when testing for load_jupyter_server_extension method
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants