summaryrefslogtreecommitdiff
path: root/lib/gitlab/checks/lfs_check.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/checks/lfs_check.rb')
-rw-r--r--lib/gitlab/checks/lfs_check.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/checks/lfs_check.rb b/lib/gitlab/checks/lfs_check.rb
index 7b013567a03..f81c215d847 100644
--- a/lib/gitlab/checks/lfs_check.rb
+++ b/lib/gitlab/checks/lfs_check.rb
@@ -15,7 +15,7 @@ module Gitlab
lfs_check = Checks::LfsIntegrity.new(project, newrev, logger.time_left)
if lfs_check.objects_missing?
- raise GitAccess::UnauthorizedError, ERROR_MESSAGE
+ raise GitAccess::ForbiddenError, ERROR_MESSAGE
end
end
end