Improve error logging with tracer module.
Merge branch 'release0.3'