summaryrefslogtreecommitdiff
path: root/lib/gitlab_lfs_authentication.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2018-12-13 10:23:17 +0000
committerDouwe Maan <douwe@gitlab.com>2018-12-13 10:23:17 +0000
commitdf89099ed954a6673bb8388ef74480940d40a759 (patch)
treec3db905b0890895303b2f1ca91f3ac02664ce48a /lib/gitlab_lfs_authentication.rb
parent528960c801aed81a977e7ce58a9706b4ea32ab4a (diff)
parent46e81d93ff74a98cf4f02735d310ee4417be0217 (diff)
downloadgitlab-shell-df89099ed954a6673bb8388ef74480940d40a759.tar.gz
Merge branch 'sh-bump-ruby-version' into 'master'
Upgrade to Ruby 2.5.3 See merge request gitlab-org/gitlab-shell!257
Diffstat (limited to 'lib/gitlab_lfs_authentication.rb')
-rw-r--r--lib/gitlab_lfs_authentication.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab_lfs_authentication.rb b/lib/gitlab_lfs_authentication.rb
index ccd6d69..ff917bc 100644
--- a/lib/gitlab_lfs_authentication.rb
+++ b/lib/gitlab_lfs_authentication.rb
@@ -13,7 +13,7 @@ class GitlabLfsAuthentication
def self.build_from_json(json)
values = JSON.parse(json)
new(values['username'], values['lfs_token'], values['repository_http_path'])
- rescue
+ rescue StandardError
nil
end