Fix error handling for items relationships destroy action [SCI-9718] (#6911)

This commit is contained in:
Soufiane 2024-01-09 15:31:21 +01:00 committed by GitHub
parent a6c0c7294b
commit 5b365fce3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,9 +78,9 @@ class RepositoryRowConnectionsController < ApplicationController
connection.destroy!
head :no_content
rescue StandardError
head :unprocessable_entity
end
rescue StandardError
head :unprocessable_entity
end
def repositories