summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2012-11-24 10:50:29 +0000
committerSteve Kemp <steve@steve.org.uk>2012-11-24 10:50:29 +0000
commiteecb0ea9a288c9c145a13b795cb192258ee47fa9 (patch)
tree7e589c35e9a2b3ef2aea9fd41113171be7c343cf /lib
parent21793bb9e03267b91865f587f7f4cd1d5a6f9492 (diff)
Raise an exception if the test-factory doesn't succeed.
Diffstat (limited to 'lib')
-rw-r--r--lib/custodian/parser.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/parser.rb b/lib/custodian/parser.rb
index 7e45760..b17c53e 100644
--- a/lib/custodian/parser.rb
+++ b/lib/custodian/parser.rb
@@ -322,7 +322,7 @@ module Custodian
job = Custodian::TestFactory.create( macro_expanded )
ret.push( job )
rescue => ex
- puts "ERROR: #{ex}"
+ raise ArgumentError, "Parsing a line to a protocol test gave the error: #{ex}"
return nil
end
end