Commit 9ccde45f authored by Robert Rudman's avatar Robert Rudman

Oops, only catch json deserialization errors

parent 7f38f5aa
Pipeline #42343612 passed with stages
in 4 minutes and 37 seconds
......@@ -54,7 +54,7 @@ namespace StackExchangeChat
return await SendMessage();
catch (Exception)
catch (JsonReaderException)
// We failed to deserialize the response, we probably got throttled.
await Task.Delay(TimeSpan.FromSeconds(15));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment