Skip to content

Commit

Permalink
fix inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
skrawcz committed Aug 18, 2024
1 parent d011d38 commit e88a2e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/hamilton/contrib/user/zilto/lancedb_vdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ def table_ref(

try:
table = client.open_table(table_name)
except FileNotFoundError:
except FileNotFoundError as e:
if schema is None:
raise ValueError("`schema` must be provided to create table.") from FileNotFoundError
raise ValueError("`schema` must be provided to create table.") from e

table = _create_table(
client=client,
Expand Down

0 comments on commit e88a2e1

Please sign in to comment.