mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 19:00:13 +01:00
reduce noisy meili errors if not set
This commit is contained in:
parent
aacc292522
commit
1d464fdcfa
3 changed files with 11 additions and 6 deletions
|
|
@ -100,8 +100,8 @@ const createMeiliMongooseModel = function ({ index, indexName, client, attribute
|
|||
// console.log('Adding document to Meili', object);
|
||||
await index.addDocuments([object]);
|
||||
} catch (error) {
|
||||
console.log('Error adding document to Meili');
|
||||
console.error(error);
|
||||
// console.log('Error adding document to Meili');
|
||||
// console.error(error);
|
||||
}
|
||||
|
||||
await this.collection.updateMany({ _id: this._id }, { $set: { _meiliIndex: true } });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue