mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 10:41:41 +00:00
fix: usar el método correcto
This commit is contained in:
parent
f50e2d430d
commit
c23d931dd4
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ class DeploySocialDistributedPress < Deploy
|
||||||
|
|
||||||
response = hook_client.put(event: event, hook: webhook)
|
response = hook_client.put(event: event, hook: webhook)
|
||||||
|
|
||||||
raise ArgumentError, response.parsed_body unless response.ok?
|
raise ArgumentError, response.body unless response.ok?
|
||||||
rescue ArgumentError => e
|
rescue ArgumentError => e
|
||||||
ExceptionNotifier.notify_exception(e, data: { site_id: site.name, usuarie_id: rol.usuarie_id })
|
ExceptionNotifier.notify_exception(e, data: { site_id: site.name, usuarie_id: rol.usuarie_id })
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue