<#2416 `meltano invoke --dump=config &lt;extractor...
# meltano-repo-activity
g
#2416
meltano invoke --dump=config <extractor>
fails if catalog discovery fails
Issue created by MeltyBot Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/2461 Originally created by @DouweM on 2020-11-25 161601 --- As reported by Benjamin Maquet on Slack:
>>
meltano invoke --dump=config <tap>
does not work since it's failing before showing the content of the file
>>
I responded:
>>
I think I know why
meltano invoke --dump=config
is failing: before invoking the tap in sync mode, Meltano always runs the tap in discovery mode to generate the catalog file, and using
--dump=config
doesn't disable that
before_invoke
hook, so what you're seeing is the tap failing in discovery mode before Meltano even gets a chance to print the generated config file.
>>
We can disable catalog discovery with
--dump=config
, but not with
--dump=catalog
since it depends on the discovered catalog. meltano/meltano