Skip to content

Commit

Permalink
Fix NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
ia3andy authored Dec 18, 2023
1 parent f0e025e commit 37f8761
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/src/main/kotlin/io/quarkus/code/rest/AnalyticsFilter.kt
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class AnalyticsFilter : ContainerRequestFilter {
mapOf(
"extension" to coords.key.toGacString(),
"extensionVersion" to coords.version,
)
).filterValues { it != null }
}
analyticsService.get().track(
event = "Extension Used",
Expand Down Expand Up @@ -164,7 +164,7 @@ class AnalyticsFilter : ContainerRequestFilter {
"streamKey" to resolvedStreamKey,
"javaVersion" to javaVersion,
"noCode" to noCode
)
).filterValues { it != null }
}

}
}

0 comments on commit 37f8761

Please sign in to comment.