Skip to content

Commit

Permalink
Handled all type of exceptions while reading the response stream. This
Browse files Browse the repository at this point in the history
…resolves #306.
  • Loading branch information
ravibpatel committed Aug 28, 2019
1 parent 0df3804 commit a6ee768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AutoUpdater.NET/AutoUpdater.cs
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ private static void BackgroundWorkerDoWork(object sender, DoWorkEventArgs e)
}
}
}
catch (XmlException)
catch (Exception)
{
e.Cancel = false;
webResponse.Close();
Expand Down

0 comments on commit a6ee768

Please sign in to comment.