New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update meltano select
to print full error message on catalog discovery errors (and with other CLI commands if possible)
#6150
Comments
@astrojuanlu Good call, I think I fixed this in @tayloramurphy I think we should prioritize this as part of the "new user experience" goal. |
@cjohnhanson - Is it okay if I assign this to you? It might be a new part of the codebase for you to dive into, but would be a good exercise if so and valuable usability improvement either way. 😄 Also - you may have some prior art in the above linked issue which could be helpful. |
Related to https://gitlab.com/meltano/meltano/-/issues/2340. |
@tayloramurphy, @pandemicsyn, @cjohnhanson, @visch - This came up in office hours today related to other commands which might not be printing @cjohnhanson - When you are back and ready to pick this up, you see about tackling discovery as part of all three of these code paths?:
From that office hours conversation, it sounded as though perhaps we've tackled Thanks! Another proposal that came up in that conversation was to record all STDERR from discovery into a log file so that it is available for inspection even if |
meltano select
to print full error message on catalog discovery errors (and with other CLI commands if possible)
When a catalog discovery attempt fails, the error message does not give enough information about what happened:
In fact, the intermediate
.meltano/run/tap-postgres/tap.c331e588-15d0-4ec6-aa62-90ec0c99c76f.config.json
config file gets automatically deleted, which makes debugging more cumbersome.The current workaround is to:
meltano config tap-postgres > config.json
/home/juanlu/Projects/Orchest/Singer/test-replication-none/.meltano/extractors/tap-postgres/venv/bin/tap-postgres --config config.json --discover
It would be nice if the "returned 1" message would also give the output of the command, for example:
The text was updated successfully, but these errors were encountered: