make task exception logs a little more readable.
git-svn-id: file:///home/svn/framework3/trunk@9127 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
016ec84531
commit
30b210a896
|
@ -198,7 +198,9 @@ class TaskManager
|
||||||
return :drop
|
return :drop
|
||||||
end
|
end
|
||||||
|
|
||||||
elog("taskmanager: task triggered an exception: #{e.class} #{e} #{task.inspect} ")
|
elog("taskmanager: task triggered an exception: #{e.class} #{e}")
|
||||||
|
elog("taskmanager: task proc: #{task.proc.inspect} ")
|
||||||
|
elog("taskmanager: task Call stack: #{task.source.join("\n")} ")
|
||||||
dlog("Call stack:\n#{$@.join("\n")}")
|
dlog("Call stack:\n#{$@.join("\n")}")
|
||||||
|
|
||||||
task.status = :dropped
|
task.status = :dropped
|
||||||
|
|
Loading…
Reference in New Issue