Skip to content

Commit

Permalink
Streams are now throwing a WebException as expected when a stream can…
Browse files Browse the repository at this point in the history
…not be read as expected.
  • Loading branch information
linvi committed Sep 28, 2015
1 parent af5198e commit ee08fbd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tweetinvi.Streams/StreamTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,8 @@ public void Start()
continue;
}

break;

throw new WebException("Stream cannot be read.");
}

numberOfRepeatedFailures = 0;
Expand Down

0 comments on commit ee08fbd

Please sign in to comment.