From 2e53c8e4fb02c8a9c1f952c6a09fe432304e7316 Mon Sep 17 00:00:00 2001 From: rootdarkarchon Date: Tue, 31 Oct 2023 23:36:26 +0100 Subject: [PATCH] fix startup breaking --- MareSynchronos/Interop/IpcManager.cs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/MareSynchronos/Interop/IpcManager.cs b/MareSynchronos/Interop/IpcManager.cs index 6ecd660..984e0c1 100644 --- a/MareSynchronos/Interop/IpcManager.cs +++ b/MareSynchronos/Interop/IpcManager.cs @@ -157,7 +157,14 @@ public sealed class IpcManager : DisposableMediatorSubscriberBase Mediator.Subscribe(this, (_) => PeriodicApiStateCheck()); - PeriodicApiStateCheck(); + try + { + PeriodicApiStateCheck(); + } + catch (Exception ex) + { + logger.LogWarning(ex, "Failed to check for some IPC, plugin not installed?"); + } } public bool Initialized => CheckPenumbraApiInternal() && CheckGlamourerApiInternal();