Dump error to trace

Signed-off-by: Phan Le <ple@pivotallabs.com>