We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 197cf1c commit d0e340aCopy full SHA for d0e340a
datastream/dataset.py
@@ -138,13 +138,14 @@ def composed_fn(dataframe, index):
138
139
raise Exception('\n'.join([
140
repr(e),
141
- 'Above exception occured in the pipeline for',
142
- 'item:',
143
- item_text,
+ '',
+ 'Above exception originated from',
144
f'module: {inspect.getmodule(function)}',
145
- 'source:',
+ 'from mapped function:',
146
inspect.getsource(function),
147
- ])) from e
+ 'for item:',
+ item_text,
148
+ ])).with_traceback(e.__traceback__)
149
150
return Dataset(
151
dataframe=self.dataframe,
0 commit comments