diff --git a/main.py b/main.py index 5c5ff6f..2e90dec 100644 --- a/main.py +++ b/main.py @@ -65,7 +65,8 @@ def call(): # authorize guest after a certain amount of time unifi.authorize_guest(id, 1) - except: + except Exception as e: + print(f"Exception: {e}") sleep(5) def call_phone(hostname, acc):