Skip to content

Commit

Permalink
catch all exceptions when unpacking
Browse files Browse the repository at this point in the history
  • Loading branch information
Rynchodon committed Jul 11, 2017
1 parent 7f29e49 commit e7090c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions PluginLoader/GitHubClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,9 @@ internal bool Update(Plugin plugin)
entry.ExtractToFile(entryDestination);
Logger.WriteLine("Unpacked entry: " + entry.FullName);
}
catch (InvalidDataException ide)
catch (Exception ex)
{
Logger.WriteLine(ide.Message);
Logger.WriteLine(ex.Message);
Logger.WriteLine("Failed to unpack: " + entry.FullName);
if (File.Exists(entryDestination))
File.Delete(entryDestination);
Expand Down
2 changes: 1 addition & 1 deletion PluginManager/Properties/VersionInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.1.1.0")]
[assembly: AssemblyVersion("1.1.2.0")]

0 comments on commit e7090c5

Please sign in to comment.