Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
johnathan-rodriguez committed Jul 12, 2023
1 parent b790987 commit bdff8ee
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fivetran_blueprints/check_sync_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,9 @@ def main():
execution_time = shipyard_utils.logs.read_pickle_file(
artifact_subfolder_paths, 'execution_time')
except Exception as error:
print(f'Error reading upstream logs: {error}')
print(f"Oops! There's a problem reading the upstream logs."
f"Before running this blueprint, you be sure to use the Fivetran - Execute Sync blueprint first."
f"\n Error Details: {error}")
sys.exit(1)
if args.connector_id and args.connector_id != '' and connector_id != args.connector_id:
print(f'Connector ID {args.connector_id} does not match the connector ID {connector_id} stored in the logs.'
Expand Down

0 comments on commit bdff8ee

Please sign in to comment.