logger handles exception

This commit is contained in:
2025-10-23 11:37:12 -05:00
parent bac8d74803
commit 4198198e02
2 changed files with 6 additions and 3 deletions

View File

@@ -33,4 +33,7 @@ logger.info(f"{v1=}")
logger.info(f"{v2=}")
logger.info(f"{v3=}")
v4 = v2.dot([1,2,3])
try:
v4 = v2.dot([1,2,3])
except ValueError as err:
logger.exception(err)