Removing engine.ErrDataNotFound in favor of domain.ErrNotFound
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ func (b *browser) Directory(id string) (*DirectoryInfo, error) {
|
||||
dir = b.buildAlbumDir(al, tracks)
|
||||
default:
|
||||
beego.Debug("Id", id, "not found")
|
||||
return nil, ErrDataNotFound
|
||||
return nil, domain.ErrNotFound
|
||||
}
|
||||
|
||||
return dir, nil
|
||||
|
||||
Reference in New Issue
Block a user