Skip to content

Commit ffd18e2

Browse files
authored
explicitly converted error message to string
1 parent 64a41d2 commit ffd18e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boruta/boruta_py.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ def _get_imp(self, X, y):
380380
self.estimator.fit(X, y)
381381
except Exception as e:
382382
raise ValueError('Please check your X and y variable. The provided'
383-
'estimator cannot be fitted to your data.\n' + e)
383+
'estimator cannot be fitted to your data.\n' + str(e))
384384
try:
385385
imp = self.estimator.feature_importances_
386386
except Exception:

0 commit comments

Comments
 (0)