feat: Add Export to MD feature, persistent agent selection, and fix export bug (v2.2.67)
This commit is contained in:
@@ -57,6 +57,14 @@ export class BridgeServer {
|
||||
}
|
||||
});
|
||||
|
||||
this.server.on('error', (err: any) => {
|
||||
if (err.code === 'EADDRINUSE') {
|
||||
logWarn(`Bridge server: Port ${port} is already in use. Another instance might be running.`);
|
||||
} else {
|
||||
logError('Bridge server error:', err);
|
||||
}
|
||||
});
|
||||
|
||||
this.server.listen(port, '127.0.0.1', () => {
|
||||
logInfo(`Bridge server active on 127.0.0.1:${port}.`);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user