Update callbacks.py to show tracebacks on ValueError (#4892)
This commit is contained in:
parent
602b8c6210
commit
993ca51a65
1 changed files with 1 additions and 0 deletions
|
@ -56,6 +56,7 @@ class Iteratorize:
|
||||||
try:
|
try:
|
||||||
ret = self.mfunc(callback=_callback, *args, **self.kwargs)
|
ret = self.mfunc(callback=_callback, *args, **self.kwargs)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
|
traceback.print_exc()
|
||||||
pass
|
pass
|
||||||
except:
|
except:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue