From 9b5477675cf1e344881f01d6c45490e566d359a4 Mon Sep 17 00:00:00 2001 From: Cristian Miranda Date: Thu, 20 Aug 2020 10:47:56 -0300 Subject: [PATCH] [github]: Remove error printing if exception caught I experienced that when an exception is caught and we print it I get an ugly error on the whole bar making it unusable. This fixes that problem. --- bumblebee_status/modules/contrib/github.py | 1 - 1 file changed, 1 deletion(-) diff --git a/bumblebee_status/modules/contrib/github.py b/bumblebee_status/modules/contrib/github.py index abcdfa5..07b8ea0 100644 --- a/bumblebee_status/modules/contrib/github.py +++ b/bumblebee_status/modules/contrib/github.py @@ -83,7 +83,6 @@ class Module(core.module.Module): self.__label += "/".join(counts) except Exception as err: - print(err) self.__label = "n/a" def __getUnreadNotificationsCountByReason(self, notifications, reason):