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

Enhance exception message thrown from appendNonOffloadingServiceFilter #2261

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

Currently, appendNonOffloadingServiceFilter does not include a name of
the filter/predicate that triggers this exception. It makes it harder to
understand the root cause.

Modifications:

  • Reword the IllegalArgumentException message to include the class
    name of the filter/predicate, and suggestion for resolution;

Result:

Easier for users to understand the root cause and how to fix it.

Motivation:

Currently, `appendNonOffloadingServiceFilter` does not include a name of
the filter/predicate that triggers this exception. It makes it harder to
understand the root cause.

Modifications:

- Reword the `IllegalArgumentException` message to include the class
name of the filter/predicate, and suggestion for resolution;

Result:

Easier for users to understand the root cause and how to fix it.
@idelpivnitskiy idelpivnitskiy self-assigned this Jul 5, 2022
@idelpivnitskiy idelpivnitskiy merged commit 8cc2f32 into apple:main Jul 5, 2022
@idelpivnitskiy idelpivnitskiy deleted the checkOffloading branch July 5, 2022 21:01
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.

2 participants