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),
|
||||
NewFileTemplate("ide.newFileTempl", newFileTemplateEvents),
|
||||
NPWizards("ide.npwizards", NPWizardsEvents),
|
||||
DebugEval("ide.debugger.eval", debugEvalEvents),
|
||||
Debug("ide.debugger", debugEvalEvents),
|
||||
J2K("ide.j2k"),
|
||||
Editor("ide.editor");
|
||||
|
||||
|
||||
+2
-2
@@ -37,8 +37,8 @@ class EvaluationStatus {
|
||||
return
|
||||
}
|
||||
|
||||
val statusName = error?.name ?: "Success"
|
||||
KotlinFUSLogger.log(FUSEventGroups.DebugEval, statusName, values)
|
||||
values["status"] = error?.name ?: "Success"
|
||||
KotlinFUSLogger.log(FUSEventGroups.Debug, "Evaluation", values)
|
||||
}
|
||||
|
||||
enum class EvaluatorType {
|
||||
|
||||
Reference in New Issue
Block a user