mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-14 21:14:15 +01:00
don't throw on ipc
This commit is contained in:
parent
9c324bc983
commit
694a88931a
1 changed files with 4 additions and 0 deletions
|
|
@ -95,6 +95,10 @@ public class IpcProvider : IHostedService, IMediatorSubscriber
|
||||||
var expectedLength = _mareCharaFileManager.LoadMareCharaFile(path);
|
var expectedLength = _mareCharaFileManager.LoadMareCharaFile(path);
|
||||||
await _mareCharaFileManager.ApplyMareCharaFile(target, expectedLength).ConfigureAwait(false);
|
await _mareCharaFileManager.ApplyMareCharaFile(target, expectedLength).ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
catch (Exception e)
|
||||||
|
{
|
||||||
|
_logger.LogError(e, "Failure of IPC call");
|
||||||
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
_mareCharaFileManager.ClearMareCharaFile();
|
_mareCharaFileManager.ClearMareCharaFile();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue