Added some support of tracing errors
Authored by: artyom-beilis 2010-09-26
Parent: [r1471]
Child: [r1473]