mirror of
				https://github.com/rad4day/Waybar.git
				synced 2025-10-31 07:52:42 +01:00 
			
		
		
		
	refactor(mpd): prefer debug over warn
This commit is contained in:
		| @@ -74,7 +74,11 @@ std::thread waybar::modules::MPD::event_listener() { | ||||
|           dp.emit(); | ||||
|         } | ||||
|       } catch (const std::exception& e) { | ||||
|         spdlog::warn("{}: {}", module_name_, e.what()); | ||||
|         if (e.what() == "Connection to MPD closed") { | ||||
|           spdlog::debug("{}: {}", module_name_, e.what()); | ||||
|         } else { | ||||
|           spdlog::warn("{}: {}", module_name_, e.what()); | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   }); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alex
					Alex