summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-11-19 12:08:30 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2015-11-19 12:09:34 +0100
commit0df7a32ea50baf251f03e6bfc5b91c5ccb68aad0 (patch)
tree7bf126f147581a9063ab3382760c5b35d33cac10 /app
parent2b907f61ff5db3ff68b27a9d3bb164745ab7703b (diff)
downloadgitlab-ce-0df7a32ea50baf251f03e6bfc5b91c5ccb68aad0.tar.gz
Fix tests
Diffstat (limited to 'app')
-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