From 51fe9fff00d56ba74ffb8bbb751d193826cee14f Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Mon, 12 Jul 2021 08:13:25 +0200 Subject: [PATCH] i3-companion: DBus errors are expected on interface down --- bin/i3-companion | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/i3-companion b/bin/i3-companion index 0311374..7fa985f 100755 --- a/bin/i3-companion +++ b/bin/i3-companion @@ -469,7 +469,7 @@ async def network_manager_status(i3, event, *args): try: await network_manager_status__now() except Exception as e: - logger.exception("while updating network status: %s", e) + logger.warning("while updating network status: %s", str(e)) if network_manager_status.running is None: network_manager_status.running = asyncio.create_task( network_manager_status_now(5)