serverless-plugin-warmup
serverless-plugin-warmup copied to clipboard
Feature Request: ability to overide the handler to warp it with error handling
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
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 🙂