diff --git a/node_external_ip_controller_async.py b/node_external_ip_controller_async.py index 0109183..66c4148 100644 --- a/node_external_ip_controller_async.py +++ b/node_external_ip_controller_async.py @@ -109,7 +109,7 @@ async def watch_nodes(v1, external_ips_update_queue): logger.info("Watch task was cancelled.") break except Exception as e: - logger.error(f"Unexpected error in watch_nodes: {e}") + logger.error(f"Unexpected error in watch_nodes: {e}", exc_info=True) await asyncio.sleep(5) @@ -144,7 +144,7 @@ async def watch_services(v1, external_ips_update_queue): logger.info("Watch task was cancelled.") break except Exception as e: - logger.error(f"Unexpected error in watch_services: {e}") + logger.error(f"Unexpected error in watch_services: {e}", exc_info=True) await asyncio.sleep(5)