Move status of evaluation from eventId to context for better data analytics

This commit is contained in:
Anton Yalyshev
2019-09-13 12:53:03 +03:00
parent 2bdbed978b
commit 61eb9faecd
2 changed files with 3 additions and 3 deletions
@@ -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");
@@ -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 {