Skip to content

Commit

Permalink
Update airbyte/sources/util.py
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronsteers authored Oct 6, 2024
1 parent f5ef21e commit eb9b45a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airbyte/sources/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def get_benchmark_source(
if isinstance(num_records, str):
try:
num_records = int(Decimal(num_records.replace("_", "")))
except ValueError as ex:
except InvalidOperation as ex:
raise PyAirbyteInputError(
message="Invalid number format.",
original_exception=ex,
Expand Down

0 comments on commit eb9b45a

Please sign in to comment.