diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2016-12-20 20:11:02 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2016-12-20 20:11:02 +0100 |
commit | 2393d30da232db04faa8da9e1a958cec22ffb6e8 (patch) | |
tree | 99af01df83bbfa59a46fc5af2c939c39f9f7e202 /lib/mattermost | |
parent | e9c14918e51828dfbfa2879d5a04f74d08fae290 (diff) | |
download | gitlab-ce-2393d30da232db04faa8da9e1a958cec22ffb6e8.tar.gz |
Fix rubocop errors [ci skip]
Diffstat (limited to 'lib/mattermost')
-rw-r--r-- | lib/mattermost/client.rb | 2 |
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 |