diff --git a/credentials.py b/credentials.py index 6fa34c2..2e9dd57 100644 --- a/credentials.py +++ b/credentials.py @@ -4,11 +4,5 @@ users = [ 'password': 'Arielle2024!', 'email': 'alex.thoni@gmx.de', 'vin': 'WVWZZZE1ZMP010760' - }, - { - 'username': 'jens', - 'password': '2SaveMyCar', - 'email': 'jens.ahrensfeld@gmx.de', - 'vin': 'WVWZZZE1ZMP010760' } ] diff --git a/we_collector.py b/we_collector.py index 7545e9c..e656ee9 100644 --- a/we_collector.py +++ b/we_collector.py @@ -130,4 +130,9 @@ if __name__ == '__main__': wc_list.append(WeCollector(user)) print(wc_list) - request_loop(wc_list) + try: + request_loop(wc_list) + except Exception as e: + print(f"Terminated with Exception {e}") + + print(f"Terminated Normally")