Revert "Update callbacks.py to show tracebacks on ValueError (#4892)"

This reverts commit 993ca51a65.
This commit is contained in:
oobabooga 2023-12-12 11:47:11 -08:00
parent 7a987417bb
commit aab0dd962d

View File

@ -56,7 +56,6 @@ class Iteratorize:
try:
ret = self.mfunc(callback=_callback, *args, **self.kwargs)
except ValueError:
traceback.print_exc()
pass
except:
traceback.print_exc()