Skip to content

Commit

Permalink
Merge branch '2.x' into 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Lobster committed Oct 22, 2019
2 parents 8246de7 + 34db021 commit 437b5b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/redmine_zulip/api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ def send(type:, to:, content:, subject: nil)
http.request(req)
end
res.code == "200"
rescue SocketError => _
rescue SocketError => e
Rails.logger.warn("Zulip API error: #{e.message}")
false
end
end
Expand Down

0 comments on commit 437b5b2

Please sign in to comment.