Clear Sentry breadcrumbs at the end of every request - #17
Conversation
|
Hi, thank you for using this bundle :) The listener you modified is called only on worker stop (process exit) and not on every request. A good place to fix this is in the middleware, where a |
|
Also, I see that |
|
@Baldinof you are right, i have changed the code to use this method instead. |
|
I don't see the new diff, did you pushed it? |
|
Sorry, it's pushed now |
|
👍 Can you call |
|
I moved the code to the middleware and added a test case. |
|
Perfect! Can you run |
|
Done! |
|
Thank you :) |
|
I released 1.3.2 with your fix. |
|
Thank you very much!! |
We are seeing breadcrumbs from previous requests on our traces in Sentry, this makes it less useful for debugging and also causes the memory usage to increase between requests.