Refined the test-cases and fixed a bug in GraphApiErrorResponseErrorHandler
[facebook-errors] / src / main / java / de / juplo / facebook / errors / GraphApiErrorResponseErrorHandler.java
index 41f00fe..e2f52ff 100644 (file)
@@ -58,9 +58,7 @@ public class GraphApiErrorResponseErrorHandler implements ResponseErrorHandler
   @Override
   public boolean hasError(ClientHttpResponse response) throws IOException
   {
-    return
-        HttpStatus.Series.CLIENT_ERROR.equals(response.getStatusCode().series())
-        || this.parent.hasError(response);
+    return HttpStatus.Series.CLIENT_ERROR.equals(response.getStatusCode().series());
   }
 
   @Override