You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ We use [semantic versioning](http://semver.org/):
5
5
- PATCH version when you make backwards compatible bug fixes.
6
6
7
7
# Next version
8
+
-[fix]_agent_: The profiled application no longer crashes when the profiler configuration is invalid (e.g., missing `teamscale-user`). Instead, the application starts normally without coverage collection.
8
9
9
10
# 36.5.0
10
11
-[feature]_agent_: Renamed the docker image to `cqse/teamscale-java-profiler` and added support for the `linux/arm64` platform
if (!options.teamscaleServer.isConfiguredForServerConnection()) {
413
+
List<String> missingOptions = newArrayList<>();
414
+
if (options.teamscaleServer.url == null) {
415
+
missingOptions.add("teamscale-server-url");
416
+
}
417
+
if (options.teamscaleServer.userName == null) {
418
+
missingOptions.add("teamscale-user");
419
+
}
420
+
if (options.teamscaleServer.userAccessToken == null) {
421
+
missingOptions.add("teamscale-access-token");
422
+
}
413
423
thrownewAgentOptionParseException(
414
-
"Config-id '" + options.teamscaleServer.configId + "' specified without teamscale url/user/accessKey! These options must be provided locally via config-file or command line argument.");
424
+
"Config-id '" + options.teamscaleServer.configId + "' specified but the following required option(s) are missing: " + String.join(", ", missingOptions) + ". These options must be provided locally via config-file or command line argument.");
415
425
}
416
426
// Set ssl validation option in case it needs to be off before trying to reach Teamscale.
0 commit comments