     private func processError(_ error: RequestError) -> Response
         {
         var error = error
-        if let errorData = error.entity , transformErrors
+        if transformErrors, let errorData = error.entity
             {
             switch processEntity(errorData)
                 {
                 case .success(let errorDataTransformed):
                     error.entity = errorDataTransformed
+                    return logTransformation(.failure(error))
 
                 case .failure(let error):
                     debugLog(.pipeline, ["Unable to parse error response body; will leave error body unprocessed:", error])

                { throw RequestError.Cause.TransformerReturnedNil(transformer: self) }
            var entity = entity
            entity.content = result
            return .success(entity)
            }
        catch
            {

                ?? RequestError(
                    userMessage: NSLocalizedString("Cannot parse server response", comment: "userMessage"),
                    cause: error)
            return logTransformation(.failure(siestaError))
            }
        }

