Skip to content

internal/testrunner/runners/pipeline: clarify warning of error.message type - #1286

Merged
efd6 merged 1 commit into
elastic:mainfrom
efd6:i6258-error-message
Jun 1, 2023
Merged

internal/testrunner/runners/pipeline: clarify warning of error.message type#1286
efd6 merged 1 commit into
elastic:mainfrom
efd6:i6258-error-message

Conversation

@efd6

@efd6 efd6 commented May 30, 2023

Copy link
Copy Markdown
Contributor

The current warning is unclear and confusing when a []any containing only strings is held in error.message. encoding/json will store an array of string as []any, so when we see that check each element for stringness.

Relates to elastic/integrations#6258 (comment).

Please take a look.

…e type

The current warning is unclear and confusing when a []any containing only
strings is held in error.message. encoding/json will store an array of string as
[]any, so when we see that check each element for stringness.
@efd6 efd6 added the enhancement New feature or request label May 30, 2023
@efd6
efd6 requested a review from jsoriano May 30, 2023 23:30
@efd6 efd6 self-assigned this May 30, 2023
@elasticmachine

Copy link
Copy Markdown
Contributor

💚 Build Succeeded

cc @efd6

@jsoriano jsoriano left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

3 participants