[FEATURE] printExperimentalBranch info

This commit is contained in:
Gravita 2022-12-22 19:11:11 +07:00
parent a27d7f1597
commit a0ac58f0b5
2 changed files with 6 additions and 2 deletions

View file

@ -224,12 +224,15 @@ private static void printExperimentalBranch() {
} }
logger.warn("This is experimental build. Please do not use this in production"); logger.warn("This is experimental build. Please do not use this in production");
logger.warn("Experimental features: [{}]", String.join(",", info.features)); logger.warn("Experimental features: [{}]", String.join(",", info.features));
for(var e : info.info) {
logger.warn(e);
}
} catch (Throwable e) { } catch (Throwable e) {
logger.warn("Build information not found"); logger.warn("Build information not found");
} }
} }
record ExperimentalBuild(List<String> features) { record ExperimentalBuild(List<String> features, List<String> info) {
} }

View file

@ -1,3 +1,4 @@
{ {
"features": [] "features": [],
"info": []
} }