Move status of evaluation from eventId to context for better data analytics
This commit is contained in:
@@ -20,7 +20,7 @@ enum class FUSEventGroups(groupIdSuffix: String, val events: Set<String> = setOf
|
|||||||
Refactoring("ide.action.refactoring", refactoringEvents),
|
Refactoring("ide.action.refactoring", refactoringEvents),
|
||||||
NewFileTemplate("ide.newFileTempl", newFileTemplateEvents),
|
NewFileTemplate("ide.newFileTempl", newFileTemplateEvents),
|
||||||
NPWizards("ide.npwizards", NPWizardsEvents),
|
NPWizards("ide.npwizards", NPWizardsEvents),
|
||||||
DebugEval("ide.debugger.eval", debugEvalEvents),
|
Debug("ide.debugger", debugEvalEvents),
|
||||||
J2K("ide.j2k"),
|
J2K("ide.j2k"),
|
||||||
Editor("ide.editor");
|
Editor("ide.editor");
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -37,8 +37,8 @@ class EvaluationStatus {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
val statusName = error?.name ?: "Success"
|
values["status"] = error?.name ?: "Success"
|
||||||
KotlinFUSLogger.log(FUSEventGroups.DebugEval, statusName, values)
|
KotlinFUSLogger.log(FUSEventGroups.Debug, "Evaluation", values)
|
||||||
}
|
}
|
||||||
|
|
||||||
enum class EvaluatorType {
|
enum class EvaluatorType {
|
||||||
|
|||||||
Reference in New Issue
Block a user