Commit 9bb1d69
refactor: 'feedback' command trace and error handling (#68)
* feat: update 'feedback' command to include feedback about the Slack CLI
* fix: update survey output to feedback output
* refactor: rename PlatformSurvey to SlackPlatformFeedback
* feat: support skipping query params for feedback urls
* test: add feedback name to trace
* test: fix failing tests
* chore: tweak comment
* refactor: 'feedback' command always traces with slacktrace.FeedbackMessage
* refactor: add slackerrors for 'feedback' error handling
* refactor: clarify the ErrFeedbackNameRequired message
* Update internal/slackerror/errors.go
Co-authored-by: Eden Zimbelman <eden.zimbelman@salesforce.com>
* fix: update error code messages to be consistent
---------
Co-authored-by: Eden Zimbelman <eden.zimbelman@salesforce.com>1 parent bd2b344 commit 9bb1d69
3 files changed
Lines changed: 29 additions & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | 54 | | |
57 | 55 | | |
58 | 56 | | |
| |||
98 | 96 | | |
99 | 97 | | |
100 | 98 | | |
101 | | - | |
102 | 99 | | |
103 | 100 | | |
104 | 101 | | |
| |||
127 | 124 | | |
128 | 125 | | |
129 | 126 | | |
130 | | - | |
131 | 127 | | |
132 | 128 | | |
133 | 129 | | |
| |||
249 | 245 | | |
250 | 246 | | |
251 | 247 | | |
252 | | - | |
253 | | - | |
254 | | - | |
| 248 | + | |
| 249 | + | |
255 | 250 | | |
256 | 251 | | |
257 | 252 | | |
258 | | - | |
259 | | - | |
260 | | - | |
| 253 | + | |
261 | 254 | | |
262 | 255 | | |
263 | 256 | | |
| |||
338 | 331 | | |
339 | 332 | | |
340 | 333 | | |
341 | | - | |
| 334 | + | |
| 335 | + | |
342 | 336 | | |
343 | 337 | | |
344 | 338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | 36 | | |
37 | | - | |
38 | 37 | | |
39 | 38 | | |
40 | 39 | | |
| |||
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
| 74 | + | |
| 75 | + | |
75 | 76 | | |
76 | 77 | | |
| 78 | + | |
77 | 79 | | |
78 | 80 | | |
79 | 81 | | |
80 | | - | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| 143 | + | |
| 144 | + | |
142 | 145 | | |
| 146 | + | |
143 | 147 | | |
144 | 148 | | |
145 | 149 | | |
146 | 150 | | |
147 | | - | |
148 | 151 | | |
149 | 152 | | |
150 | 153 | | |
| |||
248 | 251 | | |
249 | 252 | | |
250 | 253 | | |
251 | | - | |
252 | 254 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| 106 | + | |
| 107 | + | |
106 | 108 | | |
107 | 109 | | |
108 | 110 | | |
| |||
711 | 713 | | |
712 | 714 | | |
713 | 715 | | |
| 716 | + | |
| 717 | + | |
| 718 | + | |
| 719 | + | |
| 720 | + | |
| 721 | + | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
| 729 | + | |
| 730 | + | |
714 | 731 | | |
715 | 732 | | |
716 | 733 | | |
| |||
0 commit comments