Commit 8081847
committed
cosmetic: suppress oras 404 noise on cache miss
oras manifest fetch prints "Error response from registry: failed
to fetch" on stderr when an artifact has no cached version (404).
This is the normal case for fresh/changed artifacts — the caller
in artifacts-obtain.sh already reports the miss with a clean
display_alert.
Capture stderr via temp file; suppress if it contains "not found"
(expected cache miss). Any other error (auth, network) is still
shown as a warning so real problems aren't hidden.1 parent d611e91 commit 8081847
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
164 | 177 | | |
165 | 178 | | |
166 | 179 | | |
| |||
0 commit comments