Skip to content
This repository has been archived by the owner on Jan 30, 2025. It is now read-only.

Fix panic on nil response during page.reload #1408

Merged
merged 1 commit into from
Aug 23, 2024

Conversation

ankur22
Copy link
Collaborator

@ankur22 ankur22 commented Aug 23, 2024

What?

Returns early from page.reload (async API only).

Why?

Avoids unnecessary panics and aborts since it is expected that response can be nil.

Checklist

  • I have performed a self-review of my code
  • I have added tests for my changes
  • I have commented on my code, particularly in hard-to-understand areas

Related PR(s)/Issue(s)

Updates: #1407
Linked to: #1387

@ankur22 ankur22 requested a review from inancgumus August 23, 2024 11:49
@ankur22 ankur22 force-pushed the fix/1407-nil-resp-on-reload branch from 7a81a92 to 43a7bd7 Compare August 23, 2024 11:52
@ankur22 ankur22 merged commit ca6b5af into main Aug 23, 2024
23 checks passed
@ankur22 ankur22 deleted the fix/1407-nil-resp-on-reload branch August 23, 2024 14:42
@ankur22 ankur22 mentioned this pull request Aug 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants