fix doc re: cause being passed to ex-info rather than captured