Mercurial > libervia-backend
changeset 3649:4a89342476e9
core (sat_main): fix the "Could not initialize backend" error logging
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 08 Sep 2021 11:16:29 +0200 |
parents | 71cfe9334f73 |
children | 760f3ff05092 |
files | sat/core/sat_main.py |
diffstat | 1 files changed, 1 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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()