Skip to content

Commit

Permalink
Revert "Update callbacks.py to show tracebacks on ValueError (oobaboo…
Browse files Browse the repository at this point in the history
…ga#4892)"

This reverts commit 993ca51.
oobabooga committed Dec 12, 2023
1 parent 7a98741 commit aab0dd9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/callbacks.py
Original file line number Diff line number Diff line change
@@ -56,7 +56,6 @@ def gentask():
try:
ret = self.mfunc(callback=_callback, *args, **self.kwargs)
except ValueError:
traceback.print_exc()
pass
except:
traceback.print_exc()

0 comments on commit aab0dd9

Please sign in to comment.