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

Handle errors inside of the middleware_factory #660

Open
CharlesFarhat opened this issue Nov 1, 2024 · 0 comments
Open

Handle errors inside of the middleware_factory #660

CharlesFarhat opened this issue Nov 1, 2024 · 0 comments
Labels
Feature Request New feature or request

Comments

@CharlesFarhat
Copy link

Description

Last but not least, maybe include a way to handle errors inside of the middleware_factory to be able to still process response data even if there is an error (type or value) so that for example if we need to store token usage, we always store them even if the response is wrong and will crash it :) .

@CharlesFarhat CharlesFarhat added the Feature Request New feature or request label Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant