mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-21 05:53:33 -07:00
Merge branch 'master' of git://github.com/kayone/NzbDrone
This commit is contained in:
commit
7b5556199f
20 changed files with 413 additions and 120 deletions
|
@ -139,7 +139,7 @@ namespace NzbDrone.Web.Controllers
|
|||
return new JsonResult { Data = "ok" };
|
||||
}
|
||||
|
||||
catch (Exception ex)
|
||||
catch (Exception)
|
||||
{
|
||||
return new JsonResult { Data = "failed" };
|
||||
}
|
||||
|
|
|
@ -50,7 +50,7 @@ namespace NzbDrone.Web.Controllers
|
|||
return new SelectList(dirs, dirs.FirstOrDefault());
|
||||
}
|
||||
}
|
||||
catch(Exception ex)
|
||||
catch
|
||||
{
|
||||
//Swallow the exceptions so proper JSON is returned to the client (Empty results)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue