1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2024-11-25 22:39:22 +00:00

Remove useless statement

This commit is contained in:
Pierre HUBERT 2019-07-01 12:19:28 +02:00
parent 101c1ab797
commit 8d7f18b295

View File

@ -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);
}
}