better error catching

This commit is contained in:
Felix 2019-08-16 14:23:03 +01:00
parent eebc8aeee3
commit 94150ddd76

View file

@ -61,7 +61,8 @@ Future<LoginModel> requestLoginAPI(
return null;
}
} catch (_) {
} catch (error) {
debugPrint(error.toString());
_incorrectDialog(context, false);
}
}