Put error capture around problematic parsing