core: fix InitializeConverter return value

This commit is contained in:
c9s 2024-08-16 20:53:21 +08:00
parent 3d7453f18c
commit 52abb9193d
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54

View File

@ -32,7 +32,7 @@ func (s *ConverterSetting) InitializeConverter() (Converter, error) {
logrus.Infof("initializing converter %T ...", converter)
err := converter.Initialize()
return nil, err
return converter, err
}
type ConverterManager struct {