Commit 0b169a8
authored
telemetry(amazonq): add an error code for when node validation fails. (aws#7254)
## Problem
These errors show up in telemetry with reason `Error`. All of the
`reasonDesc` are different since they include unique PID values. This
makes it hard to count/quantify how often this is happening.
## Solution
- attach a unique error code to these errors. For when node can't be run
we have `FailedToRunNode`, and when the language server can't be started
we have `FailedToStartLanguageServer`.
---
- Treat all work as PUBLIC. Private `feature/x` branches will not be
squash-merged at release time.
- Your code changes must meet the guidelines in
[CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines).
- License: I confirm that my contribution is made under the terms of the
Apache 2.0 license.1 parent 710f25c commit 0b169a8
File tree
1 file changed
+3
-2
lines changed1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
| 72 | + | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
| |||
0 commit comments