diff --git a/lib/managers/mobile_app_integration_manager.class.dart b/lib/managers/mobile_app_integration_manager.class.dart index 8a053ea..86b6627 100644 --- a/lib/managers/mobile_app_integration_manager.class.dart +++ b/lib/managers/mobile_app_integration_manager.class.dart @@ -70,6 +70,7 @@ class MobileAppIntegrationManager { } else { Logger.e("Error registering the app: ${e?.toString()}"); } + _showError(); }); return completer.future; } else { @@ -105,8 +106,11 @@ class MobileAppIntegrationManager { if (e is http.Response && e.statusCode == 410) { Logger.w("MobileApp integration was removed"); _askToRegisterApp(); + } else if (e is http.Response) { + Logger.w("Error updating app registration: ${e.statusCode}: ${e.body}"); + _showError(); } else { - Logger.w("Error updating app registration: $e"); + Logger.w("Error updating app registration: ${e?.toString()}"); _showError(); } completer.complete();