aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Implementations/News/NewsService.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2014-12-22 22:58:14 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2014-12-22 22:58:14 -0500
commit42b14166029d5251e952b72f5c16cd9ae96aa8cb (patch)
treea57be3f719586c722526c78f92481b86b691a3bd /MediaBrowser.Server.Implementations/News/NewsService.cs
parentfef1d16cec5d3bf22f5efee21595480ca1aaa602 (diff)
begin work on daily episodes
Diffstat (limited to 'MediaBrowser.Server.Implementations/News/NewsService.cs')
-rw-r--r--MediaBrowser.Server.Implementations/News/NewsService.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/MediaBrowser.Server.Implementations/News/NewsService.cs b/MediaBrowser.Server.Implementations/News/NewsService.cs
index 9eeadfab7b..684363d01a 100644
--- a/MediaBrowser.Server.Implementations/News/NewsService.cs
+++ b/MediaBrowser.Server.Implementations/News/NewsService.cs
@@ -26,6 +26,14 @@ namespace MediaBrowser.Server.Implementations.News
{
return GetProductNewsInternal(query);
}
+ catch (DirectoryNotFoundException)
+ {
+ // No biggie
+ return new QueryResult<NewsItem>
+ {
+ Items = new NewsItem[] { }
+ };
+ }
catch (FileNotFoundException)
{
// No biggie