BricksLLM icon indicating copy to clipboard operation
BricksLLM copied to clipboard

Nit: improve route not supported error message

Open donfour opened this issue 1 year ago • 0 comments

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?

donfour avatar Jul 08 '24 17:07 donfour