update connect error responses

This commit is contained in:
Luke Pulverenti 2016-12-27 02:25:35 -05:00
parent 0b53004c61
commit 8999198cca
2 changed files with 2 additions and 3 deletions

View File

@ -570,9 +570,9 @@ namespace Emby.Server.Implementations.Connect
}
catch (HttpException ex)
{
if (!ex.StatusCode.HasValue)
if (!ex.StatusCode.HasValue || ex.IsTimedOut)
{
throw;
throw new Exception("Unable to invite guest, " + ex.Message, ex);
}
// If they entered a username, then whatever the error is just throw it, for example, user not found

View File

@ -27,7 +27,6 @@ namespace MediaBrowser.Model.Configuration
public bool DisplayMissingEpisodes { get; set; }
public bool DisplayUnairedEpisodes { get; set; }
public string[] ExcludeFoldersFromGrouping { get; set; }
public string[] GroupedFolders { get; set; }
public SubtitlePlaybackMode SubtitleMode { get; set; }