Hi team - is there a way to enable a detailed pyth...
# questions
j
Hi team - is there a way to enable a detailed python traceback in
kedro>=0.19.7
? • I'm finding when I use
kedro run
to run a pipeline, any exception that is raised is caught and the logs only state "An error has occurred:" followed by the exception error message. • In
kedro<=0.19.6
the full traceback is logged rather which I find much more useful for debugging - is there a way to get this back in the latest Kedro versions?
d
Sorry for the late response; I saw your message this morning, but didn't get a chance to dig into it very deeply. I think https://github.com/kedro-org/kedro/pull/4014 introduced a regression here, and https://github.com/kedro-org/kedro/pull/4072 may be the fix; I will try to verify this later tonight with an example. If so, this may be tricky to reenable before another release. Once verify the fix, let me get back to you on what can be done!
I am able to reproduce the issue; however, the "fix" I mentioned doesn't actually do anything in this case.
I can also confirm that reverting https://github.com/kedro-org/kedro/commit/78594be9535978c815fb8d5950871177576c1823 does reenable the stack trace.
j
Thanks for your help! I'm happy to keep my version fixed to
0.19.6
for now, would be great to see the stack trace reenabled in a future release 🙏
d
Sounds good. Thanks for the report!!
🥳 1
j
Is it worth raising a github issue for this? G
d
Sorry, should've linked it, but I already created one last night! https://github.com/kedro-org/kedro/issues/4073
j
Awesome!