Skip to content

Commit

Permalink
Output log.zip for invalid connector configs (#812)
Browse files Browse the repository at this point in the history
  • Loading branch information
mars-lan authored Mar 29, 2024
1 parent 11f9641 commit c2b106e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metaphor/common/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ def run_connector(
file_sink = None
if file_sink_config is not None:
file_sink = FileSink(file_sink_config)
file_sink.write_execution_logs()

if file_sink and connector:
file_sink.write_events(events)
file_sink.write_execution_logs()

# Query logs are only collected when we have a destination to write to.
query_log_sink = file_sink.get_query_log_sink()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "metaphor-connectors"
version = "0.13.152"
version = "0.13.153"
license = "Apache-2.0"
description = "A collection of Python-based 'connectors' that extract metadata from various sources to ingest into the Metaphor app."
authors = ["Metaphor <[email protected]>"]
Expand Down

0 comments on commit c2b106e

Please sign in to comment.