mirror of
https://github.com/codeflash-ai/codeflash.git
synced 2026-05-04 18:25:17 +00:00
fixed a return bug
This commit is contained in:
parent
30d32bbf18
commit
c997b90394
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ class CodeflashTrace:
|
|||
|
||||
except (TypeError, dill.PicklingError, AttributeError, RecursionError, OSError) as e:
|
||||
print(f"Error pickling arguments for function {func.__name__}: {e}")
|
||||
return None
|
||||
return result
|
||||
|
||||
if len(self.function_calls_data) > 1000:
|
||||
self.write_function_timings()
|
||||
|
|
|
|||
Loading…
Reference in a new issue