diff --git a/tap_google_sheets/tap.py b/tap_google_sheets/tap.py index 4073497..8b357a7 100644 --- a/tap_google_sheets/tap.py +++ b/tap_google_sheets/tap.py @@ -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: