add toast message when "Vectorize all" fails

This commit is contained in:
Juha Jeronen 2024-02-29 13:23:49 +02:00
parent 7432e00bb6
commit 4102705a8e
1 changed files with 1 additions and 0 deletions

View File

@ -81,6 +81,7 @@ async function onVectorizeAllClick() {
}
} catch (error) {
console.error('Vectors: Failed to vectorize all', error);
toastr.error(`Vectorize all failed. ${new String(error)}`, 'Vector Storage')
} finally {
$('#vectorize_progress').hide();
}