From e6abca1a63e69a19a376afedf8d9cdc88883aad9 Mon Sep 17 00:00:00 2001 From: "Frederick F. Kautz IV" Date: Sat, 4 Apr 2015 12:46:34 -0700 Subject: [PATCH] Adding iodine to object HEAD verb --- pkg/api/api_object_handlers.go | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/pkg/api/api_object_handlers.go b/pkg/api/api_object_handlers.go index 6b1952c50..ef50d6ebe 100644 --- a/pkg/api/api_object_handlers.go +++ b/pkg/api/api_object_handlers.go @@ -116,14 +116,9 @@ func (server *minioAPI) headObjectHandler(w http.ResponseWriter, req *http.Reque { writeErrorResponse(w, req, NoSuchKey, acceptsContentType, req.URL.Path) } - case drivers.ImplementationError: - { - log.Error.Println(err) - writeErrorResponse(w, req, InternalError, acceptsContentType, req.URL.Path) - } default: { - log.Error.Println(err) + log.Error.Println(iodine.New(err, nil)) writeErrorResponse(w, req, InternalError, acceptsContentType, req.URL.Path) } }