Skip to content

Commit a8d4fda

Browse files
committed
fixed a return bug
1 parent 9de664b commit a8d4fda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codeflash/benchmarking/codeflash_trace.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def wrapper(*args, **kwargs):
144144

145145
except (TypeError, dill.PicklingError, AttributeError, RecursionError, OSError) as e:
146146
print(f"Error pickling arguments for function {func.__name__}: {e}")
147-
return None
147+
return result
148148

149149
if len(self.function_calls_data) > 1000:
150150
self.write_function_timings()

0 commit comments

Comments
 (0)