We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a427c9 commit af3e40eCopy full SHA for af3e40e
pkg/distribution/internal/bundle/unpack.go
@@ -198,7 +198,11 @@ func unpackSafetensors(bundle *Bundle, mdl types.Model) error {
198
func unpackConfigArchive(bundle *Bundle, mdl types.Model) error {
199
archivePath, err := mdl.ConfigArchivePath()
200
if err != nil {
201
- return nil // no config archive
+ // Only suppress "not found" error, propagate others
202
+ if os.IsNotExist(err) {
203
+ return nil // no config archive
204
+ }
205
+ return fmt.Errorf("get config archive path: %w", err)
206
}
207
208
// Create config directory
0 commit comments