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 | eecb0ea9a288c9c145a13b795cb192258ee47fa9 (patch) | |
tree | 7e589c35e9a2b3ef2aea9fd41113171be7c343cf /lib/custodian/parser.rb | |
parent | 21793bb9e03267b91865f587f7f4cd1d5a6f9492 (diff) |
Raise an exception if the test-factory doesn't succeed.
Diffstat (limited to 'lib/custodian/parser.rb')
-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 |