Skip to content

Commit

Permalink
debug CI 3, re-rasie the exception when handle the data
Browse files Browse the repository at this point in the history
  • Loading branch information
wbo4958 committed Jul 29, 2022
1 parent a3b1060 commit c0b1a99
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python-package/xgboost/core.py
Expand Up @@ -450,6 +450,7 @@ def _handle_exception(self, fn: Callable, dft_ret: _T) -> _T:
# On dask, the worker is restarted and somehow the information is
# lost.
self._exception = e.with_traceback(tb)
self.reraise()
return dft_ret

def reraise(self) -> None:
Expand Down

0 comments on commit c0b1a99

Please sign in to comment.