Skip to content

Commit b721e28

Browse files
Update src/utils.py
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent cbefff8 commit b721e28

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/utils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,8 @@ def default(self, o):
9595
elif evaluate_post_process is not None and callable(evaluate_post_process):
9696
evaluate_post_process()
9797

98-
except (AttributeError, TypeError, ValueError) as e:
99-
- logger.error(f"Error handling Flight object corruption: {e}")
100-
logger.exception("Error handling Flight object corruption")
98+
except (AttributeError, TypeError, ValueError):
99+
logger.exception("Error handling Flight object corruption")
101100
try:
102101
solution = np.array(obj.solution)
103102
except (AttributeError, TypeError, ValueError):

0 commit comments

Comments
 (0)