Replace all raise ruby keyword with fail

This commit is contained in:
Thibault Jouan
2014-06-05 12:37:42 +00:00
parent 6a396ae8c0
commit 9eed0a8ef8
3 changed files with 5 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ module Producer
ch.on_request 'exit-status' do |c, data|
exit_status = data.read_long
raise RemoteCommandExecutionError, command if exit_status != 0
fail RemoteCommandExecutionError, command if exit_status != 0
end
end
end