except Exception as e:
print(e)
def func()
x = randint(1, 10)
x = randint(1, 10)
if x == and y== :
print(x, y)
else:
func()
while True:
try:
func()
except RecursionError:
pass
Можно ли залогировать эту причину падения ?