Skip to content

Wrap the socket.close in a try-catch#80

Merged
ttherbrink merged 1 commit intomasterfrom
fix/udpSocket-closed
Mar 16, 2026
Merged

Wrap the socket.close in a try-catch#80
ttherbrink merged 1 commit intomasterfrom
fix/udpSocket-closed

Conversation

@ttherbrink
Copy link
Copy Markdown
Contributor

@ttherbrink ttherbrink commented Mar 16, 2026

Solves uncaught error:
Error [ERR_SOCKET_DGRAM_NOT_RUNNING]: Not running
at healthCheck (node:dgram:965:11)
at Socket.close (node:dgram:790:3)
at Timeout._onTimeout (/app/lib/KNXInterfaceManager.js:260:21)
at listOnTimeout (node:internal/timers:585:17)
at process.processTimers (node:internal/timers:521:7)

@ttherbrink ttherbrink requested a review from wouter-athom March 16, 2026 11:47
@ttherbrink ttherbrink merged commit e26263f into master Mar 16, 2026
1 check passed
@ttherbrink ttherbrink deleted the fix/udpSocket-closed branch March 16, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants