From f2988ea7beb52ea791a64adf5015e8d9a855c864 Mon Sep 17 00:00:00 2001 From: Goffi Date: Wed, 8 Sep 2021 11:16:29 +0200 Subject: [PATCH] core (sat_main): fix the "Could not initialize backend" error logging --- sat/core/sat_main.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sat/core/sat_main.py b/sat/core/sat_main.py index 923700d3..055b03bd 100644 --- a/sat/core/sat_main.py +++ b/sat/core/sat_main.py @@ -218,11 +218,7 @@ class SAT(service.Service): ui_contact_list.ContactList(self) ui_profile_manager.ProfileManager(self) except Exception as e: - log.error( - _("Could not initialize backend: {reason}").format( - reason=str(e).decode("utf-8", "ignore") - ) - ) + log.error(f"Could not initialize backend: {e}") sys.exit(1) self._addBaseMenus()