diff options
Diffstat (limited to 'lib')
-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"+ |