mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-12-31 04:32:06 +08:00
Fix error handling for items relationships destroy action [SCI-9718] (#6911)
This commit is contained in:
parent
a6c0c7294b
commit
5b365fce3b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue