chore: replace print with PrintStyle

linuztx committed Jan 2, 2026 at 09:49 UTC 8db000e0af46b8a66d74c739a88b333f36e880bb
1 file changed +3 -2
python/helpers/tunnel_manager.py
+3 -2
@@ -7,6 +7,7 @@ from flaredantic import (
7 import threading
8 from collections import deque
9
10 +from python.helpers.print_style import PrintStyle
11
12 # Singleton to manage the tunnel instance
13 class TunnelManager:
@@ -83,7 +84,7 @@ class TunnelManager:
84 self.is_running = True
85 except Exception as e:
86 error_msg = str(e)
86 - print(f"Error in tunnel thread: {error_msg}")
87 + PrintStyle.error(f"Error in tunnel thread: {error_msg}")
88 self.notifications.append({
89 "event": NotifyEvent.ERROR.value,
90 "message": error_msg,
@@ -109,7 +110,7 @@ class TunnelManager:
110
111 return self.tunnel_url
112 except Exception as e:
112 - print(f"Error starting tunnel: {str(e)}")
113 + PrintStyle.error(f"Error starting tunnel: {str(e)}")
114 return None
115
116 def stop_tunnel(self):