update connect error responses

pull/1154/head
Luke Pulverenti 8 years ago
parent 0b53004c61
commit 8999198cca

@ -570,9 +570,9 @@ namespace Emby.Server.Implementations.Connect
} }
catch (HttpException ex) 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 // If they entered a username, then whatever the error is just throw it, for example, user not found

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

Loading…
Cancel
Save