Return response for ejabberd API calls

This commit is contained in:
2025-05-15 12:38:40 +04:00
parent 8b3243af6b
commit 382c5ad10e

View File

@@ -8,10 +8,12 @@ class EjabberdApiClient
"Content-Type" => "application/json")
if res.status != 200
#TODO Send custom event to Sentry
Rails.logger.error "[ejabberd] API request failed:"
Rails.logger.error res.body
#TODO Send custom event to Sentry
end
res
end
#