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
commit07de2b053f62e9de06339dd920d42872f8da8c06 (patch)
tree7e589c35e9a2b3ef2aea9fd41113171be7c343cf /lib
parentd0b5a726205b4cc06fdab9edbc170ec0a45251f1 (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