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: deleting asset causing crash when watching assets #118

Merged
merged 1 commit into from
Feb 5, 2025

Conversation

GoodBoyDigital
Copy link
Member

@GoodBoyDigital GoodBoyDigital commented Feb 3, 2025

When watching assets, occasianally one is deleted and we then try to read its hash the item does not exist and an error is thrown.

This PR adds a try catch around this issue. This won't cause any further issues as the asset without the file will have been flagged for deletion anyways.

@GoodBoyDigital GoodBoyDigital requested a review from Zyie February 3, 2025 17:09
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your PR title doesn't match the required format. The title should be in this format:

chore: update docs

@GoodBoyDigital GoodBoyDigital changed the title fix:deleting-assets-crash fix: deleting-assets-crash Feb 3, 2025
@Zyie Zyie changed the title fix: deleting-assets-crash fix: deleting asset causing crash when watching assets Feb 4, 2025
@Zyie Zyie added the ✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t label Feb 4, 2025
@Zyie Zyie force-pushed the fix/delete-read-buffer branch from 1585d70 to e152ce7 Compare February 4, 2025 13:18
@Zyie Zyie added this pull request to the merge queue Feb 5, 2025
Merged via the queue into main with commit 39e511b Feb 5, 2025
16 of 17 checks passed
@Zyie Zyie deleted the fix/delete-read-buffer branch February 5, 2025 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ Ready To Merge Helpful when issues are in the queue waiting to get merged. This means the PR is completed and has t
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants