better error catching

This commit is contained in:
Felix 2019-08-16 14:23:03 +01:00
parent eebc8aeee3
commit 94150ddd76
1 changed files with 2 additions and 1 deletions

View File

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