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: NoFilterException is redundant, remove it #4185

Closed
wants to merge 1 commit into from

Conversation

xiangce
Copy link
Contributor

@xiangce xiangce commented Aug 7, 2024

In the former version, when collecting filterable 'glob_file'
specs, an unexpected "Traceback" info will be printed in
the debug log.

In fact, it's not necessary to add the NoFilterException,
in that case, the ContentException can be leveraged, we
just need to log it into the debug instead of raising it again.

All Pull Requests:

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • Is this PR to correct an issue?
  • Is this PR an enhancement?

Complete Description of Additions/Changes:

In the former version, when collecting filterable 'glob_file'
specs, an unexpected "Traceback" info will be printed in
the debug log.

In fact, it's not necessary to add the NoFilterException,
in that case, the ContentException can be leveraged, we
just need to log it into the debug instead of raising it again.

Signed-off-by: Xiangce Liu <[email protected]>
@xiangce xiangce force-pushed the no_filter_exception branch from cb835b6 to 6fedf62 Compare August 7, 2024 09:50
@xiangce xiangce marked this pull request as draft August 7, 2024 10:23
@xiangce xiangce closed this Aug 9, 2024
@xiangce xiangce deleted the no_filter_exception branch August 9, 2024 08:21
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