Skip to content

Ignore FileNotFound in FilesystemCache#69

Merged
northernSage merged 4 commits intopallets-eco:mainfrom
northernSage:ignore-file-not-found-exception
Sep 5, 2021
Merged

Ignore FileNotFound in FilesystemCache#69
northernSage merged 4 commits intopallets-eco:mainfrom
northernSage:ignore-file-not-found-exception

Conversation

@northernSage
Copy link
Copy Markdown
Member

@northernSage northernSage commented Sep 5, 2021

Following #62

  • Stop logging FileNotFound exception in FilesystemCache methods
  • add changelog

We are now silently ignoring FileNotFound in all methods except FilesystemCache.set. Since a temporary file is created for the new cache entry, FileNotFound being raised means something is not ok and it should be logged.

@northernSage northernSage added the enhancement New feature or request label Sep 5, 2021
@northernSage northernSage self-assigned this Sep 5, 2021
@northernSage northernSage merged commit 6ebcaa6 into pallets-eco:main Sep 5, 2021
@northernSage northernSage deleted the ignore-file-not-found-exception branch September 5, 2021 20:24
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Sep 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

1 participant