Skip to content

Commit f592052

Browse files
committed
Fix catch kybd interrupt in main loop
1 parent 238e644 commit f592052

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ def mainLoop(docker_host, listen_system_ports, use_docker_cli):
6868
try:
6969
published_ports = docker_service.getPublishedPorts()
7070
manageProxies(remote_docker_host_name, published_ports, listen_system_ports)
71+
except KeyboardInterrupt as ke:
72+
raise ke
7173
except Exception as e:
7274
logging.error(e)
7375
time.sleep(60)

0 commit comments

Comments
 (0)