gaul commented on a change in pull request #75:
URL: https://github.com/apache/jclouds/pull/75#discussion_r439800745



##########
File path: 
apis/chef/src/main/java/org/jclouds/chef/handlers/ChefErrorHandler.java
##########
@@ -57,9 +57,7 @@ public void handleError(HttpCommand command, HttpResponse 
response) {
                exception = new AuthorizationException(message, exception);
                break;
             case 404:
-               if (!command.getCurrentRequest().getMethod().equals("DELETE")) {
-                  exception = new ResourceNotFoundException(message, 
exception);
-               }
+               exception = new ResourceNotFoundException(message, exception);

Review comment:
       @nacx Any comment on this change?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to