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

Feature Request: ability to overide the handler to warp it with error handling #291

Open
shield007 opened this issue Nov 26, 2021 · 1 comment
Labels

Comments

@shield007
Copy link

Hi,

Not really a problem, more of a feature request. I would like to be able to add custom error handling to the warm up functions. Our service uses https://sentry.io to caputre errors from our services. It would be really great if we could do this for the warmup functions. We had a issue where things were not setup correct and the warmup functions where failing. It went unnoticed for a while because the errors were not in sentry.

Sentry is probally to tied to our setup, but it would be good if there was a setting to override the handler used. then we could point it at our handler which can wrap the orignal from serverless-plugin-warmup and add in error handling,

Thanks

@shield007 shield007 changed the title Feature Request Feature Request: ability to overide the handler to warp it with error handling Nov 26, 2021
@juanjoDiaz
Copy link
Owner

This sounds like a good idea.
I'm quite busy these days, but I'll try to implement this as soon as I have time 🙂

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

No branches or pull requests

2 participants