aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuppie2026-09-04 11:19:47 -0600
committerstuppie2026-09-04 11:19:47 -0600
commit037ec3e2475fbb845013e427e507bc266020fba7 (patch)
tree17aae65ae14fbe132980f29d83ecf31cdbe37ff8
parent044ba3a4f5f10e22d41a8fc5b810e33e7aabbf26 (diff)
downloadgeneralresearch-037ec3e2475fbb845013e427e507bc266020fba7.tar.gz
generalresearch-037ec3e2475fbb845013e427e507bc266020fba7.zip
CollectionItemBase.valid_archive: these exceptions dont exist and this doesnt work. Put it back the way it was. sorry ruff
-rw-r--r--generalresearch/incite/base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/generalresearch/incite/base.py b/generalresearch/incite/base.py
index 78247eb..3e5d5a0 100644
--- a/generalresearch/incite/base.py
+++ b/generalresearch/incite/base.py
@@ -866,8 +866,8 @@ class CollectionItemBase(BaseModel):
raise ValueError("Unknown path type.")
df = parquet.read().to_pandas()
- except (pa.ArrowInvalid, pa.ArrowIOError, OSError):
- LOG.warning(f"Invalid archive {path=}")
+ except Exception as e:
+ LOG.warning(f"Invalid archive {path=} {e=}")
df = None
# Check if it's None or a totally empty pd.DataFrame before we waste