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

Detail path definition conflicts #39

Closed
davidbrochart opened this issue Oct 6, 2021 · 1 comment · Fixed by #43
Closed

Detail path definition conflicts #39

davidbrochart opened this issue Oct 6, 2021 · 1 comment · Fixed by #43
Labels
enhancement New feature or request

Comments

@davidbrochart
Copy link
Contributor

Problem

Currently, when two or more plugins define an endpoint with the same path, we get an error message like:

[E 2021-10-06 15:41:06 fps] Redefinition of path(s) ['/lab/api/themes', '/'] is not allowed.

We don't know which plugins define the same endpoint.

Proposed Solution

It would be nice to have a more detailed error message, like:

[E 2021-10-06 15:41:06 fps] Redefinition of path(s) is not allowed:
[E 2021-10-06 15:41:06 fps] Path '/lab/api/themes' is defined by: JupyterLab, RetroLab.
[E 2021-10-06 15:41:06 fps] Path '/' is defined by: JupyterLab, RetroLab.
@davidbrochart davidbrochart added the enhancement New feature or request label Oct 6, 2021
@adriendelsalle
Copy link
Member

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants