Fixed message
This commit is contained in:
parent
132fe06950
commit
9fd530b78a
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue