Skip to content

Commit

Permalink
server: log cluster connect errors
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Jan 4, 2025
1 parent b40a2ea commit b110039
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/scrypted-cluster-main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ export function createClusterServer(mainFilename: string, scryptedRuntime: Scryp
console.log('Cluster client authenticated.', socket.remoteAddress, socket.remotePort, properties);
}
catch (e) {
console.error('Cluster client authentication failed.', socket.remoteAddress, socket.remotePort, e);
peer.kill(e);
socket.destroy();
}
Expand Down

0 comments on commit b110039

Please sign in to comment.