#9524 fix: Avoid reemitting noisy runner exception
Pull request opened by
edgarrmondragon
## Description
This will make the console output less noisy, and avoid showing useless information to the user, since the error in a case like this is coming from an error exit code emitted by the plugin subprocess.
Useful information will instead be displayed if the plugin supports structured logging:
•
#9521
## Related Issues
•
#9506
•
#9521
## Summary by Sourcery
Use click context to exit on block failures and clean up error handling in the runner to suppress duplicate exception noise.
Bug Fixes:
• Stop raising a secondary CliError on block failure and call ctx.exit(1) to prevent noisy re-emitted exceptions
• Simplify tracker error payload by using the first error argument or exception class name instead of the full exception
Enhancements:
• Pass the click context into _run_blocks to enable graceful CLI exit on errors
meltano/meltano