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 8cbd939 commit 9114d81Copy full SHA for 9114d81
src/utils.py
@@ -99,7 +99,7 @@ def default(self, o):
99
logger.exception("Error handling Flight object corruption")
100
try:
101
solution = np.array(obj.solution)
102
- except Exception as e:
+ except (AttributeError, TypeError, ValueError):
103
return super().default(obj) # Fall back to parent encoder
104
size = len(solution)
105
if size > 25:
0 commit comments