Commit e98685d
committed
fix: resolve TypeScript error in Gemini embedding error handling
- Fix type error where unknown error was assigned to Error type
- Use type guard pattern (instanceof Error) for safe type conversion
- Add explanatory comment for type safety implementation
- Resolves CI build failure in PR159
- Maintains existing error handling functionality1 parent f14e097 commit e98685d
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
| 113 | + | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
| |||
0 commit comments