We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a310df commit 4244da7Copy full SHA for 4244da7
sentry/src/main/java/io/sentry/util/LoggerPropertiesUtil.java
@@ -30,13 +30,10 @@ public static void applyPropertiesToEvent(
30
final @NotNull Map<String, String> properties) {
31
if (!targetKeys.isEmpty() && !properties.isEmpty()) {
32
for (final String key : targetKeys) {
33
- @Nullable String value = properties.remove(key)
+ final @Nullable String value = properties.remove(key);
34
if (value != null) {
35
event.setTag(key, value);
36
}
37
- event.setTag(key, properties.get(key));
38
- properties.remove(key);
39
- }
40
41
if (!properties.isEmpty()) {
42
event.getContexts().put("MDC", properties);
0 commit comments