Commit 0e4dbf0
committed
Add exception handling for URI download failures
- Added try-except block in load_uri_bytes function to handle invalid URIs
- Catch specific exceptions (OSError, pa.ArrowException) for better error handling
- Failed downloads now return None instead of crashing the pipeline
- Added warning log message for failed URI downloads1 parent 50ffca4 commit 0e4dbf0
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
193 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
194 | 200 | | |
195 | 201 | | |
196 | 202 | | |
| |||
0 commit comments