Skip to content

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

@shield007

Description

@shield007

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions