herd: print a trace of pending calls in case of error.