summaryrefslogtreecommitdiff
path: root/app/models/ci/commit.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/ci/commit.rb')
-rw-r--r--app/models/ci/commit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/commit.rb b/app/models/ci/commit.rb
index 73c1570c212..b0c78499e49 100644
--- a/app/models/ci/commit.rb
+++ b/app/models/ci/commit.rb
@@ -196,7 +196,7 @@ module Ci
rescue Psych::SyntaxError => e
save_yaml_error(e.message)
nil
- rescue Exception => e
+ rescue Exception
save_yaml_error("Undefined yaml error")
nil
end