diff options
| author | Fuwn <[email protected]> | 2022-05-01 19:53:48 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-05-01 19:53:48 -0700 |
| commit | 6c3c04184a83971d36505101c8568010e38f047e (patch) | |
| tree | 38012a518955e0165ea2b8e0045fc31831e11487 | |
| parent | docs(readme): update readme (diff) | |
| download | soyuz-6c3c04184a83971d36505101c8568010e38f047e.tar.xz soyuz-6c3c04184a83971d36505101c8568010e38f047e.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)); } } }}; |