Commit 059c8e32 authored by Achilleas Pipinellis's avatar Achilleas Pipinellis

Merge branch 'docs-commands-display-deletion-error' into 'master'

Add commands to display project deletion errors

See merge request gitlab-org/gitlab!84381
parents 40c86b7e 23342ae1
...@@ -257,6 +257,13 @@ ProjectDestroyWorker.perform_async(project.id, user.id, {}) ...@@ -257,6 +257,13 @@ ProjectDestroyWorker.perform_async(project.id, user.id, {})
# or Projects::DestroyService.new(project, user).execute # or Projects::DestroyService.new(project, user).execute
``` ```
If this fails, display why it doesn't work with:
```ruby
project = Project.find_by_full_path('<project_path>')
project.delete_error
```
### Remove fork relationship manually ### Remove fork relationship manually
```ruby ```ruby
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment