summaryrefslogtreecommitdiff
path: root/lib/mattermost/session.rb
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2017-02-02 15:04:02 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2017-02-16 09:17:40 +0100
commit297dc70158f905fef4557d1ee6510bcf459a08a9 (patch)
treeb35fa5508d947f1d19e644ac9b1149145f9bb45a /lib/mattermost/session.rb
parente90ec73f651ca6153a72437d4dd01f60c38839da (diff)
downloadgitlab-ce-297dc70158f905fef4557d1ee6510bcf459a08a9.tar.gz
Create MM team for GitLab group
Diffstat (limited to 'lib/mattermost/session.rb')
-rw-r--r--lib/mattermost/session.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mattermost/session.rb b/lib/mattermost/session.rb
index 377cb7b1021..d4b4ba97f8c 100644
--- a/lib/mattermost/session.rb
+++ b/lib/mattermost/session.rb
@@ -153,7 +153,7 @@ module Mattermost
yield
rescue HTTParty::Error => e
raise Mattermost::ConnectionError.new(e.message)
- rescue Errno::ECONNREFUSED
+ rescue Errno::ECONNREFUSED => e
raise Mattermost::ConnectionError.new(e.message)
end
end