fix pruning exceptions being swallowed