Fixed message
This commit is contained in:
+1
-1
@@ -137,7 +137,7 @@ func (c *BrowsingController) GetSong() {
|
|||||||
switch {
|
switch {
|
||||||
case err == domain.ErrNotFound:
|
case err == domain.ErrNotFound:
|
||||||
beego.Error("Requested Id", id, "not found:", err)
|
beego.Error("Requested Id", id, "not found:", err)
|
||||||
c.SendError(responses.ErrorDataNotFound, "Directory not found")
|
c.SendError(responses.ErrorDataNotFound, "Song not found")
|
||||||
case err != nil:
|
case err != nil:
|
||||||
beego.Error(err)
|
beego.Error(err)
|
||||||
c.SendError(responses.ErrorGeneric, "Internal Error")
|
c.SendError(responses.ErrorGeneric, "Internal Error")
|
||||||
|
|||||||
Reference in New Issue
Block a user