mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-03 05:34:21 -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.IO;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using API.Services;
|
using API.Services;
|
||||||
@ -72,8 +73,11 @@ public static class MigrateWantToReadExport
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
await result2.CloseAsync();
|
try
|
||||||
writer.Close();
|
{
|
||||||
|
await result2.CloseAsync();
|
||||||
|
writer.Close();
|
||||||
|
} catch (Exception) {/* Swallow */}
|
||||||
|
|
||||||
logger.LogCritical(
|
logger.LogCritical(
|
||||||
"Running MigrateWantToReadExport migration - Completed. This is not an error");
|
"Running MigrateWantToReadExport migration - Completed. This is not an error");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user