remove try catch

This commit is contained in:
cdwcgt 2022-12-15 23:20:29 +09:00
parent f5226bd50b
commit dadadaff65
No known key found for this signature in database
GPG Key ID: 144396D01095C3A2

View File

@ -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;
}
}
}
}