Merge branch 'feature/ejabberd_pep' into live
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
commit
9878e4a3e8
@ -8,9 +8,10 @@ class EjabberdApiClient
|
|||||||
"Content-Type" => "application/json")
|
"Content-Type" => "application/json")
|
||||||
|
|
||||||
if res.status != 200
|
if res.status != 200
|
||||||
|
#TODO Send custom event to Sentry
|
||||||
Rails.logger.error "[ejabberd] API request failed:"
|
Rails.logger.error "[ejabberd] API request failed:"
|
||||||
Rails.logger.error res.body
|
Rails.logger.error res.body
|
||||||
#TODO Send custom event to Sentry
|
res
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user