mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-25 01:09:22 +01:00
Revert "Update callbacks.py to show tracebacks on ValueError (#4892)"
This reverts commit 993ca51a65
.
This commit is contained in:
parent
7a987417bb
commit
aab0dd962d
@ -56,7 +56,6 @@ 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…
Reference in New Issue
Block a user