From cf2b0f94d0fb3b1065ee3d546742443b4c2d1375 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 1 May 2022 19:53:48 +0000 Subject: fix(soyuz): log spam on error --- soyuz/soyuz.cc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/soyuz/soyuz.cc b/soyuz/soyuz.cc index dd1a32b..d8a9c8e 100644 --- a/soyuz/soyuz.cc +++ b/soyuz/soyuz.cc @@ -134,8 +134,14 @@ int WINAPI WinMain(HINSTANCE instance, HINSTANCE, LPSTR, int show) { if (soyuz::delete_handle(pid) == 1) { soyuz::log( soyuz::log_level::LOG_LEVEL_WARN, - "unable to close lunar client's discord ipc named pipe" + "unable to close lunar client's discord ipc named pipe," ); + soyuz::log( + soyuz::log_level::LOG_LEVEL_WARN, + "> waiting 10 seconds" + ); + + std::this_thread::sleep_for(std::chrono::seconds(10)); } } }}; -- cgit v1.2.3