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
Hi @IgordeOliveira
I have just release the initial version of Barstool which should solve all your problems although it will save the logs to a database.
Would be interested to hear your thoughts and to see if it works with the RateLimit plugin, I don't see why not.
Your issue is that the onResponse middleware doesn't get run when an exception is thrown. You need to use the ->onFatal() (I believe, I'm on my phone so can't check).
Maybe check the implementation of Barstool if you want to carry on with your solution.
I developed a middleware to log all my requests and responses:
Include in the construct
But if I use the Rate Limit plugin and an exception is thrown by the plugin, my middleware is not called.
The text was updated successfully, but these errors were encountered: