core (sat_main): fix the "Could not initialize backend" error logging
This commit is contained in:
parent
f29a6bfa17
commit
f2988ea7be
1 changed files with 1 additions and 5 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue