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

Ensure CompositeQueryLogic error codes are sent to metrics #2399

Merged
merged 7 commits into from
Jul 3, 2024

Commits on Jun 4, 2024

  1. Ensure CompositeQueryLogic error codes are sent to metrics

    The query metrics API expects QueryExceptions to be found in the cause
    of the original exception passed to BaseQueryMetric.setError(Throwable).
    In the case of CompositeQueryLogic, due to the additional wrapping of
    exceptions passed from its defined internal logics in a
    CompositeLogicException, query exceptions were not in the expected place
    in the stack hierarchy.
    
    Update the CompositeLogicException to identify any QueryExceptions
    present in the stacks of exception arguments, and ensure that they are
    either already a QueryException, or that if they contain a
    QueryException in the stack, that they are subsequently wrapped in a
    CompositeRaisedQueryException with a copy of the desired error code.
    
    Fixes #2340
    lbschanno committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    0138120 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3d0d26e View commit details
    Browse the repository at this point in the history
  3. Update unit test

    lbschanno committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    162b78b View commit details
    Browse the repository at this point in the history
  4. Fix javadoc

    lbschanno committed Jun 4, 2024
    Configuration menu
    Copy the full SHA
    0b21bed View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. Configuration menu
    Copy the full SHA
    4c7bc04 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Configuration menu
    Copy the full SHA
    492a471 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2024

  1. Configuration menu
    Copy the full SHA
    c7750f8 View commit details
    Browse the repository at this point in the history