From 9ff97a36118626e36afd459c16a6dbe76f9696ff Mon Sep 17 00:00:00 2001 From: piair Date: Thu, 23 Dec 2021 13:30:30 +0100 Subject: [PATCH] improved error messages --- V4.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/V4.py b/V4.py index 579016c..b731d34 100644 --- a/V4.py +++ b/V4.py @@ -388,12 +388,12 @@ def login() : try : driver.find_element_by_id('KmsiCheckboxField').click() except Exception as e : - printf(f"erreur validation bouton {e}") + printf(f"erreur validation bouton KmsiCheckboxField. pas forcement grave {e}") CustomSleep(5) try : driver.find_element_by_id('idSIButton9').click() - except : - pass + except Exception as e : + printf(f"erreur validation bouton idSIButton9. pas forcement grave {e}") printf("login completed") CustomSleep(5)