Commit c9d9108
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 downloads
Signed-off-by: xyuzh <xinyzng@gmail.com>1 parent 50ffca4 commit c9d9108
1 file changed
+5
-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 | + | |
194 | 197 | | |
195 | 198 | | |
196 | 199 | | |
| |||
0 commit comments