From aab0dd962d9f48e9524f8e602f7252a27ed85870 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Tue, 12 Dec 2023 11:47:11 -0800 Subject: [PATCH] Revert "Update callbacks.py to show tracebacks on ValueError (#4892)" This reverts commit 993ca51a651238ad97b17cccd952a3a2df04282e. --- modules/callbacks.py | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/callbacks.py b/modules/callbacks.py index 25ede07c..bb979a6c 100644 --- a/modules/callbacks.py +++ b/modules/callbacks.py @@ -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()