fix: init data

This commit is contained in:
archer 2023-07-27 12:14:03 +08:00
parent 118e333600
commit 1c4d2e92cf
No known key found for this signature in database
GPG Key ID: 569A5660D2379E28

View File

@ -101,7 +101,7 @@ export async function getInitConfig() {
global.vectorModels = res.VectorModels || defaultVectorModels;
} catch (error) {
setDefaultData();
return Promise.reject('get init config error');
console.log('get init config error, set default');
}
}