-
Notifications
You must be signed in to change notification settings - Fork 36
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: resolved more logging objects structure #1510
Conversation
e28f2a0
to
dc2e79f
Compare
'Received an invalid secrets configuration from the Instana host agent, attribute matcher is not a string: $s', | ||
agentResponse.secrets.matcher | ||
'Received an invalid secrets configuration from the Instana host agent, attribute matcher is not a string: ' + | ||
`${agentResponse.secrets.matcher}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpik: Join all three modifications into one template literal.
'%s: %s', | ||
packageJsonPath, | ||
parseErr.message | ||
`${packageJsonPath}: ${parseErr?.message}.` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpik: join the strings to one template literal
'%s: %s.', | ||
packageJsonPath, | ||
err.message | ||
`${packageJsonPath}: ${err?.message}.` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpik: join the strings to one template literal
'able to see details about this dependency within Instana.', | ||
dependency, | ||
parseErr.message | ||
`Failed to identify version of ${dependency} dependency due to: ${parseErr?.message}.` + |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nitpik: join the strings to one template literal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pre-approving. Thanks for taking care!
Co-authored-by: kirrg001 <[email protected]>
Co-authored-by: Arya <[email protected]>
Co-authored-by: Arya <[email protected]>
Fixes more log object structure and also added optional chaining for type safety