removed debug messages
parent
9d271357d9
commit
a60197dd2c
|
|
@ -29,11 +29,9 @@ class AuthService {
|
||||||
var authModel = AuthModel.fromJson(response.data);
|
var authModel = AuthModel.fromJson(response.data);
|
||||||
return authModel;
|
return authModel;
|
||||||
default:
|
default:
|
||||||
print('Erro inesperado no login: ${response.statusCode} - ${response.data.toString()}');
|
|
||||||
throw Exception('Erro inesperado no login: ${response.statusCode} - ${response.data.toString()}');
|
throw Exception('Erro inesperado no login: ${response.statusCode} - ${response.data.toString()}');
|
||||||
}
|
}
|
||||||
} on Exception catch (e) {
|
} on Exception catch (e) {
|
||||||
print('Exception inesperada no login: $e');
|
|
||||||
throw Exception('Exception inesperada no login: $e');
|
throw Exception('Exception inesperada no login: $e');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue