Skip to content

Commit

Permalink
Change exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
richardrandak committed Apr 27, 2020
1 parent f500740 commit 70f715a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FortnoxAPILibrary/UrlRequestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ protected ErrorInformation HandleException(WebException we)
{
if (we.Response == null)
{
throw new Exception("Inget svar från Fortnox API. Kontrollera inre exception.", we);
throw new Exception("Connection to server failed. Check inner exception.", we);
}

using var response = (HttpWebResponse)we.Response;
Expand Down

0 comments on commit 70f715a

Please sign in to comment.