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

Nit: improve route not supported error message #80

Open
donfour opened this issue Jul 8, 2024 · 0 comments
Open

Nit: improve route not supported error message #80

donfour opened this issue Jul 8, 2024 · 0 comments

Comments

@donfour
Copy link
Contributor

donfour commented Jul 8, 2024

Currently when a path doesn't match, we just return [BricksLLM] route not supported, which makes it slightly tricky to debug API calls made via an SDK, cause the SDK hide the request path from the user.

Maybe would be nice if we also return the request path along with the error, cause sometimes the error is really obvious.

Something like [BricksLLM] "/api/providers/foo/bar" is not a supported route?

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

No branches or pull requests

1 participant