Catching and Logging HTTP API Errors with Middleware - Effect Community