Skip to content

Commit

Permalink
Update examples/database-demos/indexeddb-demo/src/components/Database…
Browse files Browse the repository at this point in the history
…Demo.tsx

Co-authored-by: kaizen-bot[bot] <150987473+kaizen-bot[bot]@users.noreply.github.com>
  • Loading branch information
sauravpanda and kaizen-bot[bot] authored Feb 2, 2025
1 parent e438d2c commit e0ea227
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export function DatabaseDemo() {
setEmbeddings(browserAI);
addLog('✅ Database and embeddings initialized');
} catch (error) {
addLog(`❌ Error initializing: ${error instanceof Error ? error.message : String(error)}`);
addLog(`❌ Error initializing: ${error instanceof Error ? 'An error occurred during initialization.' : 'An unknown error occurred.'}`);
}
};

Expand Down

0 comments on commit e0ea227

Please sign in to comment.