Skip to content

Commit

Permalink
Improve validation message
Browse files Browse the repository at this point in the history
  • Loading branch information
lancondrej committed Apr 24, 2024
1 parent 28a6d58 commit da66ad0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tap_google_sheets/tap.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,7 @@ def get_first_line_range(stream_config):
start_column, start_line, end_column, end_line = result.groups("")
break
else:
# This should never happen, regex should be validated by the jsonschema
raise ConfigValidationError("Invalid range format")
raise ConfigValidationError("Invalid range format, please use valid A1 notation.")
if start_line and end_line:
line_number = str(min(int(start_line), int(end_line)))
else:
Expand Down

0 comments on commit da66ad0

Please sign in to comment.