ticat icon indicating copy to clipboard operation
ticat copied to clipboard

Executed status file may be corrupted in some cases

Open innerr opened this issue 2 years ago • 0 comments

When an execution failed, the executed status file may be corrupted, The reason is related to using panic-recover to handle errors.

Command's status may be written during panic-recover, The error-handle-order is tricky, so lead to executed status file corrupting.

This commit https://github.com/innerr/ticat/commit/7497ae06d0b55e034d706964ebdb9c1ad162a2af tolerate corruptions. Futher works: better error handling.

innerr avatar May 23 '22 17:05 innerr