[#354] Do not proceed on bucket remove error

Signed-off-by: Alex Vanin <a.vanin@yadro.com>
This commit is contained in:
Alexey Vanin 2024-05-17 20:34:37 +03:00
parent d62d8f3874
commit 87b9e97a80

View file

@ -278,6 +278,7 @@ func (h *handler) DeleteBucketHandler(w http.ResponseWriter, r *http.Request) {
SessionToken: sessionToken, SessionToken: sessionToken,
}); err != nil { }); err != nil {
h.logAndSendError(w, "couldn't delete bucket", reqInfo, err) h.logAndSendError(w, "couldn't delete bucket", reqInfo, err)
return
} }
chainIDs := []chain.ID{ chainIDs := []chain.ID{