chore: Sentry Issue fixes (#4618)

Address the following sentry issues

fixes: #4616, #4617
This commit is contained in:
Sojan Jose
2022-05-05 00:31:11 +05:30
committed by GitHub
parent b3c8c83830
commit c9a8796a36
3 changed files with 22 additions and 2 deletions

View File

@@ -32,6 +32,6 @@ class InboxMember < ApplicationRecord
end
def remove_agent_from_round_robin
::RoundRobin::ManageService.new(inbox: inbox).remove_agent_from_queue(user_id)
::RoundRobin::ManageService.new(inbox: inbox).remove_agent_from_queue(user_id) if inbox.present?
end
end