diff options
author | Christoph Helma <helma@in-silico.ch> | 2012-03-13 20:52:45 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2012-03-13 20:52:45 +0100 |
commit | 625c88673e90053f898423dfc96bda1d6c0fa8eb (patch) | |
tree | 90c4178c3110983635d63f1570fb53ec932ada4f /lib/task.rb | |
parent | 9cf20c9fa99bac82c8a4e455eb6c97ecb3f26776 (diff) |
short backtrace for errorDetails
Diffstat (limited to 'lib/task.rb')
-rw-r--r-- | lib/task.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/task.rb b/lib/task.rb index 3f1b691..be02deb 100644 --- a/lib/task.rb +++ b/lib/task.rb @@ -15,7 +15,7 @@ module OpenTox result_uri = yield task.completed result_uri rescue - RestClientWrapper.put(File.join(task.uri,'Error'),{:errorReport => $!.report.to_yaml}) + RestClientWrapper.put(File.join(task.uri,'Error'),{:errorReport => $!.report.to_yaml}) if $!.respond_to? :report task.kill end end |