Skip to content

Commit

Permalink
fix: don't use plugin's analytics object if seetup threw an Exception…
Browse files Browse the repository at this point in the history
… because it might not be initiated. (#223)
  • Loading branch information
didiergarcia committed May 16, 2024
1 parent 9103e2b commit 87ab3a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ internal class Timeline {
Telemetry.INTEGRATION_ERROR_METRIC, t.stackTraceToString()) {
it["error"] = t.toString()
it["plugin"] = "${plugin.type}-${plugin.javaClass}"
it["writekey"] = plugin.analytics.configuration.writeKey
it["writekey"] = analytics.configuration.writeKey
it["message"] = "Exception executing plugin"
}
}
Expand Down

0 comments on commit 87ab3a9

Please sign in to comment.