This commit is contained in:
Deluan
2016-03-09 18:46:53 -05:00
parent 2214e4bd4f
commit 7a8d591ee1
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ func (c *BrowsingController) GetDirectory() {
dir, err := c.browser.Directory(id)
switch {
case err == engine.DataNotFound:
beego.Error(err, "Id:", id)
beego.Error("Requested Id", id, "not found:", err)
c.SendError(responses.ERROR_DATA_NOT_FOUND, "Directory not found")
case err != nil:
beego.Error(err)