Fix post merge
This commit is contained in:
parent
90e8ff128c
commit
b5f7e12f5a
@ -105,7 +105,7 @@ public class ArticoloRESTConsumer extends _BaseRESTConsumer {
|
|||||||
|
|
||||||
articoloRESTConsumerService
|
articoloRESTConsumerService
|
||||||
.findIfIsKit(mtbAart)
|
.findIfIsKit(mtbAart)
|
||||||
.enqueue(new Callback<>() {
|
.enqueue(new ManagedErrorCallback<>() {
|
||||||
@Override
|
@Override
|
||||||
public void onResponse(@NonNull Call<ServiceRESTResponse<MtbAart>> call, @NonNull Response<ServiceRESTResponse<MtbAart>> response) {
|
public void onResponse(@NonNull Call<ServiceRESTResponse<MtbAart>> call, @NonNull Response<ServiceRESTResponse<MtbAart>> response) {
|
||||||
analyzeAnswer(response, "findIfIsKit", (m) -> {
|
analyzeAnswer(response, "findIfIsKit", (m) -> {
|
||||||
@ -114,8 +114,8 @@ public class ArticoloRESTConsumer extends _BaseRESTConsumer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onFailure(@NonNull Call<ServiceRESTResponse<MtbAart>> call, Throwable t) {
|
public void onFailure(Call<ServiceRESTResponse<MtbAart>> call, @NonNull Exception e) {
|
||||||
onFailed.run(new Exception(t));
|
onFailed.run(e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user