Remove snapshot and tmp directory on error

Hello, I’m a mac user now using duplicacy webui with -vss option. I notice that, if a backup interrupted for some error, the filesystem snapshot and corrosponding temporary mounting point are left without further process.

Is it possible to add an on-error cleanup for this? Thank you.

This is a duplicate of [bug] VSS mount persists if backup is interrupted.

Thanks. However, is there a plan to add this or any on-error hook can execute commands with parameters including snapshot name?