Skip to content

Fix misleading connection string message - #3709

Merged
Jean Bisutti (jeanbisutti) merged 4 commits into
mainfrom
jean/fix-misleading-connection-string-message
May 21, 2024
Merged

Jean Bisutti (jeanbisutti) merged 4 commits into
mainfrom
jean/fix-misleading-connection-string-message

Conversation

@jeanbisutti

Copy link
Copy Markdown
Contributor

The following error messages were displayed for cases not related to a misconfiguration of a connection string from a file:

Error loading connection string from a file

Please use this format instead:
{ "connectionString": "${file:connection-string-file.txt}" }

For example totoInstrumentationKey for a connection string creates these error messages.

It can be misleading for the users.

Related to #3707

@trask Trask Stalnaker (trask) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

👍

…ights/agent/internal/configuration/ConfigurationBuilder.java

Co-authored-by: Helen <56097766+heyams@users.noreply.github.com>
…ights/agent/internal/configuration/ConfigurationBuilder.java

Co-authored-by: Helen <56097766+heyams@users.noreply.github.com>
@jeanbisutti
Jean Bisutti (jeanbisutti) enabled auto-merge (squash) May 21, 2024 09:38
@jeanbisutti
Jean Bisutti (jeanbisutti) deleted the jean/fix-misleading-connection-string-message branch May 21, 2024 09:56
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.

3 participants