Skip to content

Commit

Permalink
fix(platform): panic err
Browse files Browse the repository at this point in the history
  • Loading branch information
StellarisW committed Dec 11, 2023
1 parent 4020fd9 commit 70fcdd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion platform/server/shared/config/internal/api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ func NewConfigManager(config Config, registryConfig registryconfig.Config, store
switch registryConfig.Type {
case consts.RegistryTypeBuiltin:
registryConfigManager, err = registryconfig.NewBuiltinRegistryConfigManager(registryConfig.Builtin, storeConfig)
panic(err)
if err != nil {
panic(err)
}
default:

}
Expand Down

0 comments on commit 70fcdd2

Please sign in to comment.