Skip to content

Conversation

elbeno
Copy link
Contributor

@elbeno elbeno commented Mar 5, 2025

Problem:

  • When a callback fails to match, it should be obvious if there were no callbacks considered.

Solution:

  • Show the number of callbacks considered in the match error.

Note:

  • For the non-indexed matcher, log_mismatch is called for each callback; however the absence of output when there are no callbacks still confuses folks.

Problem:
- When a callback fails to match, it should be obvious if there were no
  callbacks considered.

Solution:
- Show the number of callbacks considered in the match error.

Note:
- For the non-indexed matcher, `log_mismatch` is called for each callback;
  however the absence of output when there are no callbacks still confuses
  folks.
@lukevalenty lukevalenty merged commit 458337d into intel:main Mar 5, 2025
24 checks passed
@elbeno elbeno deleted the better-callback-failure branch March 5, 2025 18:20
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