Skip to content

Commit

Permalink
Remove useless assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
eheydrick committed Feb 23, 2018
1 parent cf617ba commit 35648d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/aws-cleaner.rb
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def self.fire_webhook(hook_config, config, instance_id)
hook = { method: hook_config[:method].to_sym, url: url }
begin
RestClient::Request.execute(hook)
rescue RestClient::ExceptionWithResponse => e
rescue RestClient::ExceptionWithResponse
return false
end
# notify chat when webhook is successful
Expand Down

0 comments on commit 35648d9

Please sign in to comment.