<#6641 feature: Improve logging of unhandled excep...
# meltano-repo-activity
g
#6641 feature: Improve logging of unhandled exceptions in taps/targets Issue created by WillDaSilva ### Feature scope CLI (options, error messages, logging, etc.) ### Description Original Slack thread (private channel): https://meltano.slack.com/archives/C01V5RPLLN4/p1660633635134939 For context, this tweet identified a longstanding issue where taps and targets that do not use our SDK may have uncaught exceptions that are printed to stderr, then propagated to Meltano at the INFO log level, which leads to log output like this:

[image](https://user-images.githubusercontent.com/11428666/185182853-a30b6d7c-6507-4519-9ba0-b91982325af1.png)▾

To handle these cases generally without requiring the extensions use our SDK (and by extension, structured logging), we may be able to override
sys.excepthook
in their Python processes to communicate the exception back to Meltano, where it can be logged in an appropriate manner. meltano/meltano