fix: complete logic audit — mark_completed on transfer, reset_state for interactive source, proper error propagation, user-visible commands

This commit is contained in:
2026-05-22 21:05:16 +04:00
parent 97b3623915
commit addbb3795f
5 changed files with 11 additions and 5 deletions
+1 -1
View File
@@ -62,7 +62,7 @@ class FSM:
except Exception as e:
msg = str(e)
cerror(f"Ошибка на шаге {step_name}: {msg}")
state.set_error(step_name, "", msg, suggestion="Исправьте проблему и запустите: ./migrate --resume")
state.set_error(step_name, "", msg, suggestion="Исправьте проблему и запустите: docker-migrate --resume")
raise
def _source_step(self, name):