File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed
core/src/main/java/com/segment/analytics/kotlin/core/platform Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -82,14 +82,6 @@ internal class Timeline {
82
82
it[" message" ] = " Exception executing plugin"
83
83
}
84
84
}
85
- Telemetry .increment(Telemetry .INTEGRATION_METRIC ) {
86
- it[" message" ] = " added"
87
- if (plugin is DestinationPlugin && plugin.key != " " ) {
88
- it[" plugin" ] = " ${plugin.type} -${plugin.key} "
89
- } else {
90
- it[" plugin" ] = " ${plugin.type} -${plugin.javaClass} "
91
- }
92
- }
93
85
plugins[plugin.type]?.add(plugin)
94
86
with (analytics) {
95
87
analyticsScope.launch(analyticsDispatcher) {
@@ -108,6 +100,15 @@ internal class Timeline {
108
100
}
109
101
}
110
102
}
103
+
104
+ Telemetry .increment(Telemetry .INTEGRATION_METRIC ) {
105
+ it[" message" ] = " added"
106
+ if (plugin is DestinationPlugin && plugin.key != " " ) {
107
+ it[" plugin" ] = " ${plugin.type} -${plugin.key} "
108
+ } else {
109
+ it[" plugin" ] = " ${plugin.type} -${plugin.javaClass} "
110
+ }
111
+ }
111
112
}
112
113
113
114
// Remove a registered plugin
You can’t perform that action at this time.
0 commit comments