mirror of
https://gitlab.com/comunic/comunicmobile
synced 2024-11-22 12:59:21 +00:00
Remove useless statement
This commit is contained in:
parent
101c1ab797
commit
8d7f18b295
@ -59,14 +59,10 @@ class APIHelper {
|
||||
return APIResponse(response.statusCode, null);
|
||||
|
||||
return APIResponse(response.statusCode, response.data);
|
||||
} on Exception catch (e) {
|
||||
} catch (e) {
|
||||
print(e.toString());
|
||||
print("Could not execute a request!");
|
||||
return APIResponse(-1, null);
|
||||
} on DioError catch(e){
|
||||
print(e.toString());
|
||||
print("Could not execute a request (Dio error)!");
|
||||
return APIResponse(-1, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user