Post Middleware and Errors

What's the expected behavior with post middleware when an API errors?

I've got some logging setup and I assumed from the status property that it should pass any errors, but I'm only getting successful logs. It doesn't seem to be running the post middleware when the API errors.

Any suggestions on how to test/debug this would be appreciated!

1
4 replies