summaryrefslogtreecommitdiff
path: root/lib/gitlab/git/hook_env.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/git/hook_env.rb')
-rw-r--r--lib/gitlab/git/hook_env.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/git/hook_env.rb b/lib/gitlab/git/hook_env.rb
index 892a069a3b7..d19334fafe6 100644
--- a/lib/gitlab/git/hook_env.rb
+++ b/lib/gitlab/git/hook_env.rb
@@ -21,7 +21,7 @@ module Gitlab
def self.set(gl_repository, env)
return unless Gitlab::SafeRequestStore.active?
- raise "missing gl_repository" if gl_repository.blank?
+ raise _("missing gl_repository") if gl_repository.blank?
Gitlab::SafeRequestStore[:gitlab_git_env] ||= {}
Gitlab::SafeRequestStore[:gitlab_git_env][gl_repository] = whitelist_git_env(env)