Skip to content

Commit b0f6294

Browse files
jackshiraziCopilot
andauthored
Update dynamic-control/src/main/java/io/opentelemetry/contrib/dynamic/policy/source/SourceFormat.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent f265893 commit b0f6294

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • dynamic-control/src/main/java/io/opentelemetry/contrib/dynamic/policy/source

dynamic-control/src/main/java/io/opentelemetry/contrib/dynamic/policy/source/SourceFormat.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ public static SourceFormat fromConfigValue(String value) {
4646
return format;
4747
}
4848
}
49-
throw new IllegalArgumentException("Unknown source format: " + value);
49+
throw new IllegalArgumentException(
50+
"Unknown source format (normalized): '" + normalized + "' (original: '" + value + "')");
5051
}
5152

5253
/**

0 commit comments

Comments
 (0)