Skip to content

Commit

Permalink
Merge pull request #1518 from Ivanov-Anton/1516_do_not_raise_error_wh…
Browse files Browse the repository at this point in the history
…en_node_return_not_fount

1516, do not raise error when Node return not found
  • Loading branch information
dmitry-sinina committed Jul 22, 2024
2 parents 8ddd6b5 + 8f00056 commit 411091e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/jobs/jobs/calls_monitoring.rb
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,8 @@ def terminate_calls!
begin
node_id = call[:node_id].to_i
nodes[node_id].drop_call(local_tag)
rescue NodeApi::Error => e
logger.error "#{e.class} #{e.message}"
rescue StandardError => e
node_id = call.is_a?(Hash) ? call[:node_id] : nil
capture_error(e, extra: { local_tag: local_tag, node_id: node_id })
Expand Down

0 comments on commit 411091e

Please sign in to comment.