Needs to check for err.code !== 'nonJSON' here, I seem to recall.