I have a script running in a “Python Script” node that throws an exception (KNIME v4.7.6) . I’d like for KNIME to print out that exception text - at the moment it doesn’t do that, not even on debug level ‘DEBUG’.
Am I missing something here? Should I use print statements instead of exceptions to get KNIME console output?
Then, I looked into my code and realised that I made a mistake: my code failed before it even reached the exception. Basically I defined a variable based on a dataframe column before running my exception checks. In the edge case of providing an empty table, I never even got to the exceptions.