diff --git a/public/scripts/extensions/vectors/index.js b/public/scripts/extensions/vectors/index.js index c4ed01796..a1addc4f4 100644 --- a/public/scripts/extensions/vectors/index.js +++ b/public/scripts/extensions/vectors/index.js @@ -94,7 +94,9 @@ async function synchronizeChat(batchSize = 5) { return newVectorItems.length - batchSize; } catch (error) { + toastr.error('Check server console for more details', 'Vectorization failed'); console.error('Vectors: Failed to synchronize chat', error); + return -1; } }