mirror of
https://github.com/internetee/registry.git
synced 2025-06-11 23:24:48 +02:00
added rescue in doRequest interaction for error handle
This commit is contained in:
parent
1598e16455
commit
40c8518751
1 changed files with 2 additions and 0 deletions
|
@ -14,6 +14,8 @@ module Actions
|
|||
do_live_request(@request, @uri)
|
||||
end
|
||||
response
|
||||
rescue StandardError
|
||||
response.fail!(error: StandardError.message)
|
||||
end
|
||||
|
||||
def do_live_request(request, uri)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue