Skip to content

Commit

Permalink
Fix get file info - end with error when reaching max retries.
Browse files Browse the repository at this point in the history
  • Loading branch information
golavr committed Sep 21, 2017
1 parent 7d49398 commit 808906c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion MyDownloader.Core/Downloader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,8 @@ private void StartDownloadThreadProc(object objSegmentCount)
}
else
{
SetState(DownloaderState.NeedToPrepare);
lastError = ex;
SetState(DownloaderState.EndedWithError);
return;
}
}
Expand Down

0 comments on commit 808906c

Please sign in to comment.