Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: only set err.status on statusCode >= 200 (#677)
> nodejs.AssertionError: invalid status code: -1 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **Bug Fixes** - Improved error handling to ensure the HTTP status code is valid and within the correct range. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information