Track exceptions that we're catching in a stack.