Skip to content

Commit 28cb436

Browse files
committed
Crashtracker: dual ship to error tracking
1 parent 614cc72 commit 28cb436

File tree

17 files changed

+560
-114
lines changed

17 files changed

+560
-114
lines changed

dd-java-agent/agent-crashtracking/src/main/java/datadog/crashtracking/ConfigManager.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,10 @@ private static String getBaseName(Path path) {
122122
return filename.substring(0, dotIndex);
123123
}
124124

125-
private static String getMergedTagsForSerialization(Config config) {
125+
// @VisibleForTesting
126+
static String getMergedTagsForSerialization(Config config) {
126127
return config.getMergedCrashTrackingTags().entrySet().stream()
128+
.filter(e -> e.getValue() != null)
127129
.map(e -> e.getKey() + ":" + e.getValue())
128130
.collect(Collectors.joining(","));
129131
}

0 commit comments

Comments
 (0)