better error catching
This commit is contained in:
parent
eebc8aeee3
commit
94150ddd76
1 changed files with 2 additions and 1 deletions
|
@ -61,7 +61,8 @@ Future<LoginModel> requestLoginAPI(
|
|||
|
||||
return null;
|
||||
}
|
||||
} catch (_) {
|
||||
} catch (error) {
|
||||
debugPrint(error.toString());
|
||||
_incorrectDialog(context, false);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue