From 3cc89238a3422064c0cb5409690d9c732420da07 Mon Sep 17 00:00:00 2001 From: p-ferreira <38992619+p-ferreira@users.noreply.github.com> Date: Wed, 30 Aug 2023 14:38:14 -0400 Subject: [PATCH] fix print_exception function call --- openvalidators/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvalidators/run.py b/openvalidators/run.py index 47a85fc..aeaaf68 100644 --- a/openvalidators/run.py +++ b/openvalidators/run.py @@ -58,4 +58,4 @@ async def run_forward(): except Exception as e: bt.logging.error("Error in training loop", str(e)) - bt.logging.debug(print_exception(value=e)) + bt.logging.debug(print_exception(type(err), err, err.__traceback__))