We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0f80ed commit d59f0d5Copy full SHA for d59f0d5
1 file changed
python/pyspark/util.py
@@ -98,7 +98,10 @@ def wrapper(*args, **kwargs):
98
try:
99
return f(*args, **kwargs)
100
except StopIteration as exc:
101
- raise RuntimeError("Caught StopIteration thrown from user's code; failing the task", exc)
+ raise RuntimeError(
102
+ "Caught StopIteration thrown from user's code; failing the task",
103
+ exc
104
+ )
105
106
return wrapper
107
0 commit comments