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

Catch proxy errors #133

Closed
benjick opened this issue Oct 24, 2024 · 1 comment
Closed

Catch proxy errors #133

benjick opened this issue Oct 24, 2024 · 1 comment

Comments

@benjick
Copy link

benjick commented Oct 24, 2024

Hey!

I'm seeing these errors from time to time: Failed to proxy https://plausible.io/api/event AggregateError [ETIMEDOUT]:

Is there any way I can catch them and wrap them in my own logger? They are polluting my logs a bit as of right now.

@4lejandrito
Copy link
Owner

4lejandrito commented Jan 8, 2025

Hey proxying is based on nextjs' rewrites feature. I don't think you can catch the errors, but maybe ask on nextjs.

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

2 participants