Merge remote-tracking branch 'origin/main' into feat/reset

Reset asks the exception for the HTTP status, as the snapshot commands now do.

Signed-off-by: Hector Ventura <hectorvent@gmail.com>
This commit is contained in:
Hector Ventura committed 2026-10-10 21:40:50 -05:00
commit c95d2ffb16
15 files changed
+330 -31

No files matched your search

@@ -140,7 +140,7 @@ public class ResetCommand implements Callable<Integer> {
try {
new FlociHttpClient(effectiveEndpoint, profile).resetState();
} catch (FlociException e) {
if (e.getMessage().contains("HTTP 404") || e.getMessage().contains("HTTP 501")) {
if (e.endpointMissing()) {
printer.error("Resetting state is not available on this " + profile.displayName() + " server version.\n"
+ "Restart it without --persist for a clean state, or track progress: " + profile.serverRepo() + "/issues");
} else {