           (throw
             (ex-info "Registry error!"
                      {:status status
-                      :body   {:error response}})))))))
+                      :body   response})))))))
 
 (defn- get
   [registry api headers params]

  [registry repository-name]
  (let [headers (headers registry)
        api (str "/" repository-name "/tags/list")]
    (get registry api headers nil)))

                 :headers      headers
                 :query-params params}]
    (execute @(http/get url options))))

(defn- basic-auth
  [registry]
