diff --git a/announce.py b/announce.py
index faad699..dd33ca6 100755
--- a/announce.py
+++ b/announce.py
@@ -30,7 +30,13 @@ while True:
 				print(f"{UDP_IP}:{UDP_PORT} {MESSAGE=}" % MESSAGE)
 				sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, socket.IPPROTO_UDP)
 				sock.bind(('0.0.0.0', 1900)) # 1900 is SSDP src port
-				sock.sendto(MESSAGE, (UDP_IP, UDP_PORT))
+				try:
+					sock.sendto(MESSAGE, (UDP_IP, UDP_PORT))
+				except OSError:
+					# OSError: [Errno 89] Destination address required
+					# this error means that wireguard doesn't know an endpoint for this peer
+					# so we can ignore this error
+					pass
 				sock.close()
 	time.sleep(10)