diff options
author | Steve Kemp <steve@steve.org.uk> | 2012-11-24 10:50:29 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2012-11-24 10:50:29 +0000 |
commit | 07de2b053f62e9de06339dd920d42872f8da8c06 (patch) | |
tree | 7e589c35e9a2b3ef2aea9fd41113171be7c343cf /lib | |
parent | d0b5a726205b4cc06fdab9edbc170ec0a45251f1 (diff) |
Raise an exception if the test-factory doesn't succeed.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/custodian/parser.rb | 2 |
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 |