diff options
| author | Fuwn <[email protected]> | 2022-05-01 19:53:48 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-05-01 19:53:48 +0000 |
| commit | cf2b0f94d0fb3b1065ee3d546742443b4c2d1375 (patch) | |
| tree | 38012a518955e0165ea2b8e0045fc31831e11487 | |
| parent | docs(readme): update readme (diff) | |
| download | soyuz-cf2b0f94d0fb3b1065ee3d546742443b4c2d1375.tar.xz soyuz-cf2b0f94d0fb3b1065ee3d546742443b4c2d1375.zip | |
fix(soyuz): log spam on error
| -rw-r--r-- | soyuz/soyuz.cc | 8 |
1 files changed, 7 insertions, 1 deletions
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)); } } }}; |