From fec42b915123609c3c0cc30fe36fb08bbcbf91fa Mon Sep 17 00:00:00 2001 From: Derek Visch Date: Mon, 27 Mar 2023 16:47:46 -0400 Subject: [PATCH] Update __init__.py Let's keep the data from the error so we have a nice stack trace as well to use. --- tap_spreadsheets_anywhere/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tap_spreadsheets_anywhere/__init__.py b/tap_spreadsheets_anywhere/__init__.py index c136419..5e1742b 100644 --- a/tap_spreadsheets_anywhere/__init__.py +++ b/tap_spreadsheets_anywhere/__init__.py @@ -89,7 +89,7 @@ def discover(config): ) except Exception as err: LOGGER.error(f"Unable to write Catalog entry for '{table_spec['name']}' - it will be skipped due too error {err}") - exit(1) + raise err return Catalog(streams)