diff options
author | rautenberg <rautenberg@in-silico.ch> | 2013-03-28 12:47:55 +0100 |
---|---|---|
committer | rautenberg <rautenberg@in-silico.ch> | 2013-03-28 12:47:55 +0100 |
commit | cf146574d83d72a66183f7d103ca1aa250d6e360 (patch) | |
tree | 52cc08142b0a853955da32373ce83fca0a4cfe97 /lib/task.rb | |
parent | 9b31acdf5241ebdf700ecc1d798ca6c181aa1b5d (diff) | |
parent | 4ba2cc9849473f97baf75195bb36c5057f1c58d4 (diff) |
Merge branch 'development' of github.com:opentox/opentox-client into developmentv2.1.-last
Diffstat (limited to 'lib/task.rb')
-rw-r--r-- | lib/task.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/task.rb b/lib/task.rb index 3d427bc..82e1665 100644 --- a/lib/task.rb +++ b/lib/task.rb @@ -21,6 +21,7 @@ module OpenTox rescue unless $!.is_a?(RuntimeError) # PENDING: only runtime Errors are logged when raised cut_index = $!.backtrace.find_index{|line| line.match /gems\/sinatra/} + cut_index = -1 unless cut_index msg = "\nTask ERROR\n"+ "task description: #{params[RDF::DC.description]}\n"+ "task uri: #{$!.class.to_s}\n"+ |