Skip to content

Commit c38df11

Browse files
committed
add log error message
1 parent f8b7526 commit c38df11

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

imap_processing/ialirt/l0/process_swapi.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ def optimize_pseudo_parameters(
135135

136136
if covariance_matrix_is_finite and R2_is_acceptable:
137137
sol = curve_fit_output[0]
138-
except RuntimeError as _:
138+
except RuntimeError as runtime_error:
139+
logger.error(f"curve_fit failed", runtime_error)
139140
sol = None
140141

141142
# report speed only if fit fails

0 commit comments

Comments
 (0)