wip: Logger

This commit is contained in:
2025-07-04 16:52:59 +02:00
parent 54e72cc705
commit 97ca8766af
3 changed files with 46 additions and 13 deletions

View File

@@ -145,7 +145,7 @@ public class ClubEndpoints {
)).invoke(Unchecked.consumer(out -> {
if (!out.equals("OK"))
throw new DInternalError("Impossible de reconnaitre le fichier: " + out);
}));
})); // TODO log
else
return Uni.createFrom().nullItem();
}).chain(() -> {
@@ -154,7 +154,7 @@ public class ClubEndpoints {
)).invoke(Unchecked.consumer(out -> {
if (!out.equals("OK"))
throw new DInternalError("Impossible de reconnaitre le fichier: " + out);
}));
})); // TODO log
else
return Uni.createFrom().nullItem();
});
@@ -178,13 +178,13 @@ public class ClubEndpoints {
})).call(id -> {
if (input.getLogo().length > 0)
return Uni.createFrom().future(Utils.replacePhoto(id, input.getLogo(), media, "ppClub"
));
)); // TODO log
else
return Uni.createFrom().nullItem();
}).call(id -> {
if (input.getStatus().length > 0)
return Uni.createFrom().future(Utils.replacePhoto(id, input.getStatus(), media, "clubStatus"
));
)); // TODO log
else
return Uni.createFrom().nullItem();
});