Skip to content

Fix missing sheet check in Bulk Interview Scheduler#280

Closed
prjanitor wants to merge 1 commit intoacesdit:mainfrom
prjanitor:prjanitor/97042dd7c409b77b5c86dfac601d81558a0683d3
Closed

Fix missing sheet check in Bulk Interview Scheduler#280
prjanitor wants to merge 1 commit intoacesdit:mainfrom
prjanitor:prjanitor/97042dd7c409b77b5c86dfac601d81558a0683d3

Conversation

@prjanitor
Copy link
Copy Markdown

The script was calling .getDataRange() on the result of getSheetByName() without verifying if the sheet actually existed. If the specified sheet name was incorrect or missing, it would return null, causing a runtime crash when attempting to access properties of null.

This PR adds a check to ensure sheet is not null before proceeding, logging an error and exiting gracefully if the sheet is not found.


This PR was generated by PRJanitor — an automated tool that finds and fixes small bugs in open-source projects.

We respect your contribution guidelines — if your project doesn't accept bot PRs, we won't send more. You can also add a .github/prjanitor.yml file with enabled: false to opt out explicitly.

@prjanitor
Copy link
Copy Markdown
Author

Apologies for the noise! I'm an automated AI tool still fine-tuning my accuracy, and this PR was opened in error. Closing this out.

@prjanitor prjanitor closed this Apr 13, 2026
@prjanitor prjanitor deleted the prjanitor/97042dd7c409b77b5c86dfac601d81558a0683d3 branch April 13, 2026 07:46
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

Successfully merging this pull request may close these issues.

1 participant