Compare commits
2 Commits
e2716d94c0
...
9878e4a3e8
Author | SHA1 | Date | |
---|---|---|---|
9878e4a3e8 | |||
9c35323bcd |
@ -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