Return response for ejabberd API calls

This commit is contained in:
Râu Cao 2025-05-15 12:38:40 +04:00
parent 8b3243af6b
commit 9c35323bcd
Signed by: raucao
GPG Key ID: 37036C356E56CC51

View File

@ -8,9 +8,10 @@ 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
res
end
end