Skip to content

Commit

Permalink
bump changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
rbiseck3 committed Dec 20, 2024
1 parent 1c8e453 commit b3f3400
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 25 deletions.
21 changes: 4 additions & 17 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,14 @@
## 0.3.12-dev3

### Enhancements

* **Migrate Vectara Destination Connector to v2**

## 0.3.12-dev2

### Enhancements

* **Added Redis destination connector**

## 0.3.12-dev1

* **Bypass asyncio exception grouping to return more meaningful errors from OneDrive indexer**

## 0.3.12-dev0
## 0.3.12-dev4

### Fixes

* **Fix Kafka destination connection problems**

### Enhancements

* **Migrate Vectara Destination Connector to v2**
* **Added Redis destination connector**
* **Bypass asyncio exception grouping to return more meaningful errors from OneDrive indexer**
* **Kafka destination connector checks for existence of topic**
* **Create more reflective custom errors** Provide errors to indicate if the error was due to something user provided or due to a provider issue, applicable to all steps in the pipeline.
* **Bypass asyncio exception grouping to return more meaningful errors from OneDrive indexer**
Expand Down
2 changes: 1 addition & 1 deletion unstructured_ingest/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.3.12-dev3" # pragma: no cover
__version__ = "0.3.12-dev4" # pragma: no cover
13 changes: 6 additions & 7 deletions unstructured_ingest/v2/processes/connectors/fsspec/gcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,12 @@ def wrap_error(self, e: Exception) -> Exception:
raise UserError(e)
if isinstance(e, ValueError) and "Bad Request" in str(e):
raise UserError(e)
if isinstance(e, HttpError):
if http_error_code := e.code:
message = e.message or e
if 400 <= http_error_code < 500:
raise UserError(message)
if http_error_code >= 500:
raise ProviderError(message)
if isinstance(e, HttpError) and (http_error_code := e.code):
message = e.message or e
if 400 <= http_error_code < 500:
raise UserError(message)
if http_error_code >= 500:
raise ProviderError(message)
logger.error(f"unhandled exception from gcs ({type(e)}): {e}", exc_info=True)
return e

Expand Down

0 comments on commit b3f3400

Please sign in to comment.