mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01:00
Update callbacks.py to show tracebacks on ValueError (#4892)
This commit is contained in:
parent
602b8c6210
commit
993ca51a65
@ -56,6 +56,7 @@ class Iteratorize:
|
||||
try:
|
||||
ret = self.mfunc(callback=_callback, *args, **self.kwargs)
|
||||
except ValueError:
|
||||
traceback.print_exc()
|
||||
pass
|
||||
except:
|
||||
traceback.print_exc()
|
||||
|
Loading…
Reference in New Issue
Block a user