You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm hitting a bug that's causing log loss in my Vercel serverless functions.
The issue is that calls to the async function defaultRouteHandlerOnSuccess are missing an await. This means the serverless function can finish executing before logger.flush() completes, so the logs never get sent. I saw this happening specifically in my /api/webhook/stripe endpoint.