[#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 c0f959ece7
commit 7ae4323116

View file

@ -277,6 +277,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{