diff options
author | Christoph Helma <helma@in-silico.ch> | 2011-06-06 16:54:56 +0000 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2011-06-06 16:54:56 +0000 |
commit | 8d8880685ddaeeb968e1f1f0addf6cbf66eef67d (patch) | |
tree | 84a87466e156bb73d763aaa87615e452c0653542 /lazar.rb | |
parent | f6a55a7121a61865d85ad7195371bd8fd784fb29 (diff) |
halts (partially) substituted by OpenTox errors
Diffstat (limited to 'lazar.rb')
-rw-r--r-- | lazar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -191,7 +191,7 @@ post '/lazar/?' do model_uri end response['Content-Type'] = 'text/uri-list' - halt 503,task.uri+"\n" if task.status == "Cancelled" + raise OpenTox::ServiceUnavailableError.newtask.uri+"\n" if task.status == "Cancelled" halt 202,task.uri end |