summaryrefslogtreecommitdiff
path: root/lib/task.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2012-03-19 18:57:31 +0100
committerChristoph Helma <helma@in-silico.ch>2012-03-19 18:57:31 +0100
commitfc990e6dae8af7cfdf7d12b4e1d9ccd3b557418a (patch)
tree9b1827e350da96266bade1ccccdab2af7c87d3e4 /lib/task.rb
parent2fd7dcb2d011e3a2029de56f48aca5722685ee80 (diff)
libraptor1-dev dependency added
Diffstat (limited to 'lib/task.rb')
-rw-r--r--lib/task.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/task.rb b/lib/task.rb
index 7452012..f19a918 100644
--- a/lib/task.rb
+++ b/lib/task.rb
@@ -15,6 +15,7 @@ module OpenTox
result_uri = yield
task.completed result_uri
rescue
+ puts $!.report.to_yaml
RestClientWrapper.put(File.join(task.uri,'Error'),{:errorReport => $!.report.to_yaml}) if $!.respond_to? :report
task.kill
end