Function event logs

​Hi Community,

I had a function that returned error 400 from May 27th to July 4th.

The endpoint we are posting to is a Netlify function that handles our newsletter signup.

We had an unhandled error that failed the post to MailerLite that we use to handle our newsletters. Is it possible to get the event logs so that I can recover these failed signups?

I would also like to request a feature to set up an alert/ notifications if a function returns anything but status 200 to discover this faster in the future.

Thank you,

Aleksander Hansson

Hello @ahansson, welcome to the community!

Unfortunately, we do not include payloads of our customer’s traffic in our logs so we won’t be able to provide those.

As far as an alert/notification, since you can implement your function any way you like, it’s up to you to incorporate some error handling to it. Something like Sentry or Bugsnag would be useful in the use-case you described.