Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue when no response.url and request is undefined #2164

Open
averageokguy opened this issue May 23, 2024 · 0 comments
Open

Issue when no response.url and request is undefined #2164

averageokguy opened this issue May 23, 2024 · 0 comments

Comments

@averageokguy
Copy link

as stated in the title, i'm running into an issue where we're entering this if block because !response.url === true. however, request is undefined. this results in error cascading back up the chain. i'm not fully aware of the entire repo architecture at the moment, so i can't raise PR. should this be surrounded with try/catch? check in if condition that request !== undefined? use nullish coalescing operator request?.url ?? ""?

thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant