Commit a8e4fbb
authored
## Problem
The org-all code path (`sentry issue list org/`) was missing the 400 Bad
Request suggestions added in PR #489. When the API returns 400, users
see a bare error without guidance. Affects **23 users**
([CLI-BY](https://sentry.sentry.io/issues/7316799779/)).
## Fix
Wrapped the `fetchOrgAllIssues` call in `handleOrgAllIssues` with a
try-catch that enriches 400 errors using the existing `build400Detail()`
helper — the same one used by `handleResolvedTargets`. Users now see
suggestions about query syntax, period, and project access in both code
paths.
1 parent 7d9c6b9 commit a8e4fbb
1 file changed
Lines changed: 27 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
826 | 826 | | |
827 | 827 | | |
828 | 828 | | |
829 | | - | |
830 | | - | |
831 | | - | |
832 | | - | |
833 | | - | |
834 | | - | |
| 829 | + | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
835 | 841 | | |
836 | | - | |
837 | | - | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
838 | 857 | | |
839 | 858 | | |
840 | 859 | | |
| |||
0 commit comments