fix: Stuff

This commit is contained in:
Christian Pauly 2021-09-19 12:14:50 +02:00
parent 08c09051ea
commit f879708d42

View File

@ -34,7 +34,9 @@ void main() async {
Zone.current.handleUncaughtError(details.exception, details.stack);
final clients = await ClientManager.getClients();
await Future.wait(clients.map((client) => client.init()));
await Future.wait(clients.map((client) => client
.init()
.catchError((e, s) => Logs().e('Unable to initialize client', e, s))));
if (PlatformInfos.isMobile) {
BackgroundPush.clientOnly(clients.first);
}