mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-05-24 00:52:23 -04:00
Swallow writer close error (#2678)
This commit is contained in:
parent
08157234ab
commit
e36243fc95
@ -1,4 +1,5 @@
|
||||
using System.Globalization;
|
||||
using System;
|
||||
using System.Globalization;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
using API.Services;
|
||||
@ -72,8 +73,11 @@ public static class MigrateWantToReadExport
|
||||
}
|
||||
|
||||
|
||||
await result2.CloseAsync();
|
||||
writer.Close();
|
||||
try
|
||||
{
|
||||
await result2.CloseAsync();
|
||||
writer.Close();
|
||||
} catch (Exception) {/* Swallow */}
|
||||
|
||||
logger.LogCritical(
|
||||
"Running MigrateWantToReadExport migration - Completed. This is not an error");
|
||||
|
Loading…
x
Reference in New Issue
Block a user