summaryrefslogtreecommitdiff
path: root/lib/mattermost
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2016-12-20 20:11:02 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-12-20 20:11:02 +0100
commit2393d30da232db04faa8da9e1a958cec22ffb6e8 (patch)
tree99af01df83bbfa59a46fc5af2c939c39f9f7e202 /lib/mattermost
parente9c14918e51828dfbfa2879d5a04f74d08fae290 (diff)
downloadgitlab-ce-2393d30da232db04faa8da9e1a958cec22ffb6e8.tar.gz
Fix rubocop errors [ci skip]
Diffstat (limited to 'lib/mattermost')
-rw-r--r--lib/mattermost/client.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mattermost/client.rb b/lib/mattermost/client.rb
index 6eaaed34063..fa3c9fa27bd 100644
--- a/lib/mattermost/client.rb
+++ b/lib/mattermost/client.rb
@@ -34,7 +34,7 @@ module Mattermost
end
json_response
- rescue JSON::JSONError => e
+ rescue JSON::JSONError
raise ClientError('Cannot parse response')
end
end