mirror of
https://github.com/Sarsoo/Spotify.NET.git
synced 2024-12-23 22:56:25 +00:00
Fixed HTTP-Server, it's now throwing exceptions. (Closes #38)
This commit is contained in:
parent
d1f1923738
commit
006f085c4b
@ -224,9 +224,10 @@ namespace SpotifyAPI.Web
|
||||
Thread.Sleep(1);
|
||||
}
|
||||
}
|
||||
catch (Exception)
|
||||
catch (SocketException e)
|
||||
{
|
||||
// ignored
|
||||
if (e.ErrorCode != 10004) //Ignore 10004, which is thrown when the thread gets terminated
|
||||
throw;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user