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

Fix panic when file read fails #1598

Merged
merged 1 commit into from
Nov 19, 2022
Merged

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Nov 18, 2022

See also #1596

Fix panic caused by nil pointer dereference when *.tf file fails to load.

However, this error should be rare. If the file doesn't exist, an error occurs before loadHCLFile, so it seems to only occur in exceptional circumstances, such as filesystem corruption.

@wata727 wata727 merged commit fb0fd9f into master Nov 19, 2022
@wata727 wata727 deleted the fix_panic_when_failed_to_load branch November 19, 2022 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant