• 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.
    72a85ae9
project_destroy_worker.rb 522 Bytes