# HG changeset patch # User Goffi # Date 1631092589 -7200 # Node ID 4a89342476e986435fbc215671c4cbf1d0f8e3b9 # Parent 71cfe9334f73d3cf6f988a2ca5305d4bb6679fb9 core (sat_main): fix the "Could not initialize backend" error logging diff -r 71cfe9334f73 -r 4a89342476e9 sat/core/sat_main.py --- a/sat/core/sat_main.py Wed Sep 08 11:16:21 2021 +0200 +++ b/sat/core/sat_main.py Wed Sep 08 11:16:29 2021 +0200 @@ -218,11 +218,7 @@ 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()