removed debug messages
This commit is contained in:
@@ -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');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user