aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Connect/ConnectManager.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2016-12-27 03:16:41 -0500
committerGitHub <noreply@github.com>2016-12-27 03:16:41 -0500
commit6f2cb0b0d9353240441d4aa5dd2d46341ab9b4cb (patch)
tree4b111f8b921109ddef9bd56c5b0297b510ac5cbd /Emby.Server.Implementations/Connect/ConnectManager.cs
parentb8e285035c9b68128eb283c81877fde2984ed4b6 (diff)
parentd7b0dcd91b4301c7bd68bce14964f3dd4082b310 (diff)
Merge pull request #2367 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/Connect/ConnectManager.cs')
-rw-r--r--Emby.Server.Implementations/Connect/ConnectManager.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/Connect/ConnectManager.cs b/Emby.Server.Implementations/Connect/ConnectManager.cs
index b7faaa901..8c8b7b026 100644
--- a/Emby.Server.Implementations/Connect/ConnectManager.cs
+++ b/Emby.Server.Implementations/Connect/ConnectManager.cs
@@ -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