diff --git a/src/NzbDrone.Core/Notifications/Gotify/GotifyProxy.cs b/src/NzbDrone.Core/Notifications/Gotify/GotifyProxy.cs index ab1130ab6..16c5de217 100644 --- a/src/NzbDrone.Core/Notifications/Gotify/GotifyProxy.cs +++ b/src/NzbDrone.Core/Notifications/Gotify/GotifyProxy.cs @@ -37,7 +37,7 @@ namespace NzbDrone.Core.Notifications.Gotify throw new GotifyException("Unauthorized - AuthToken is invalid"); } - throw new GotifyException("Unable to connect to Gotify. Status Code: {0}", ex); + throw new GotifyException("Unable to connect to Gotify. Status Code: {0}", ex.Response.StatusCode); } } }