mirror of
https://github.com/osukey/osukey.git
synced 2025-05-30 09:57:21 +09:00
remove try catch
This commit is contained in:
parent
f5226bd50b
commit
dadadaff65
@ -139,8 +139,6 @@ namespace osu.Game.Database
|
||||
/// <param name="outputStream">The output stream to export to.</param>
|
||||
/// <param name="notification">The notification will displayed to the user</param>
|
||||
private void exportZipArchive(TModel model, Stream outputStream, ProgressNotification notification)
|
||||
{
|
||||
try
|
||||
{
|
||||
using (var writer = new ZipWriter(outputStream, new ZipWriterOptions(CompressionType.Deflate)))
|
||||
{
|
||||
@ -157,11 +155,5 @@ namespace osu.Game.Database
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (OperationCanceledException)
|
||||
{
|
||||
Logger.Log("Export operat canceled");
|
||||
throw;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user