Commit 6bf80327 authored by Matija Čupić's avatar Matija Čupić

Remove full exception stack trace from error

parent ee40dc3a
...@@ -14,10 +14,10 @@ module Gitlab ...@@ -14,10 +14,10 @@ module Gitlab
test_case = create_test_case(test_case) test_case = create_test_case(test_case)
test_suite.add_test_case(test_case) test_suite.add_test_case(test_case)
end end
rescue REXML::ParseException => e rescue REXML::ParseException
raise JunitParserError, "XML parsing failed: #{e.message}" raise JunitParserError, "XML parsing failed"
rescue => e rescue
raise JunitParserError, "JUnit parsing failed: #{e.message}" raise JunitParserError, "JUnit parsing failed"
end end
private private
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment