When question is related to debugging specific exception always provide relevant traceback. While it is advisable to remove duplicated outputs (from different executors or attempts) don't cut tracebacks to a single line or exception class only.
Depending on the context try to provide details like:
RDD.debugString
/ Dataset.explain
.