Commit d7b4f37
Abhimanyu Siwach
fix: preserve original error messages for invalid/missing credentials
Restore the "Check your env vars" hint for InvalidClientTokenId and
the "Or set env vars" fallback for no-credentials case. Dynamic
version-aware guidance is only used for expired credentials where
users are most likely to need aws login instructions.1 parent be19146 commit d7b4f37
1 file changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | 58 | | |
60 | 59 | | |
61 | | - | |
| 60 | + | |
62 | 61 | | |
63 | 62 | | |
64 | 63 | | |
| |||
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
86 | | - | |
| 85 | + | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
0 commit comments