Skip to content

Alert error on panic #17

Open
Open
@erkie

Description

@erkie

Right now the backup fails silently if a panic happens somewhere. This should at minimum be alerted about so manual cleanup steps can be taken.

Or also run appropriate cleanup steps when applicable. It feels like a good time to refactor out the return backupCleanup logic to be a if err := recover(); err != nil { backupCleanup() } and that backupCleanup is smart enough to know when it is safe to delete the volume or not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedWould love help from other contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions