Remove unnecessary debug log (#21959)
This log is continuously spamming our community server and I see it all the time in my dev environment. Let's remove this to keep the logs clean. ```release-note NONE ```
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
5e4d787766
Коммит
93f17980a1
@@ -124,7 +124,6 @@ func deleteDraft(c *Context, w http.ResponseWriter, r *http.Request) {
|
|||||||
switch {
|
switch {
|
||||||
case err.StatusCode == http.StatusNotFound:
|
case err.StatusCode == http.StatusNotFound:
|
||||||
// If the draft doesn't exist in the server, we don't need to delete.
|
// If the draft doesn't exist in the server, we don't need to delete.
|
||||||
mlog.Debug("Unable to find the draft", mlog.Err(err))
|
|
||||||
ReturnStatusOK(w)
|
ReturnStatusOK(w)
|
||||||
default:
|
default:
|
||||||
c.Err = err
|
c.Err = err
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user