diff --git a/models/mli/model_gam.py b/models/mli/model_gam.py index 6df78178..9f188f43 100755 --- a/models/mli/model_gam.py +++ b/models/mli/model_gam.py @@ -191,6 +191,9 @@ def fit(self, X, y, sample_weight=None, eval_set=None, sample_weight_eval_set=No raise IgnoreError('On entry to DLASCL parameter number') from e raise except: + import traceback + import sys + t, v, tb = sys.exc_info() ex = ''.join(traceback.format_exception(t, v, tb)) print(ex)