• Timothy Andrew's avatar
    Handle errors while a project is being deleted asynchronously. · 72a85ae9
    Timothy Andrew authored
    1. Rescue all errors that `Projects::DestroyService` might throw, to prevent the
       worker from leaving things in an inconsistent state
    2. Unmark the project as `pending_delete`
    3. Add a `delete_error` text column to `projects`, and save the error message in
       there, to be shown to the project masters/owners.
20170428064307_add_column_delete_error_to_projects.rb 1.25 KB