Fix recipe redirect on error