Skip to content

Commit 197cf1c

Browse files
committed
Better exceptions for starmap with module logging
1 parent 6198ffe commit 197cf1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datastream/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def composed_fn(dataframe, index):
141141
'Above exception occured in the pipeline for',
142142
'item:',
143143
item_text,
144-
f'file: {inspect.getfile(function)}',
144+
f'module: {inspect.getmodule(function)}',
145145
'source:',
146146
inspect.getsource(function),
147147
])) from e

0 commit comments

Comments
 (0)