summaryrefslogtreecommitdiff
path: root/src/Network/BitTorrent/Tracker/Scrape.hs
diff options
context:
space:
mode:
authorSam T <pxqr.sta@gmail.com>2013-06-07 19:14:41 +0400
committerSam T <pxqr.sta@gmail.com>2013-06-07 19:14:41 +0400
commit13819af69d4a99f97eaf8ae439baeb6de37a1f5f (patch)
tree25710835624effca5d87a633cecdfbc3667e9836 /src/Network/BitTorrent/Tracker/Scrape.hs
parent7f299646b8c761f28b101b6232cc183712dcfa2e (diff)
~ Throw exception in askTracker.
HTTP client functions throws an exception. If we unable to decode result we return BEncode.Result.Left. So user of this function should check both kinds of errors and this complicate usage. Instead of this we throw IOException too.
Diffstat (limited to 'src/Network/BitTorrent/Tracker/Scrape.hs')
0 files changed, 0 insertions, 0 deletions