BREAKING_CHANGE(structure): rebrand as dcrouter
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
# @serve.zone/platformservice
|
# dcrouter
|
||||||
|
|
||||||
contains the platformservice container with mail, sms, letter, ai services.
|
dcrouter: a traffic router intended to be gating your datacenter.
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
|
|
||||||
|
@@ -371,11 +371,8 @@ export class UnifiedEmailServer extends EventEmitter {
|
|||||||
// The server is started when it's created
|
// The server is started when it's created
|
||||||
logger.log('info', `UnifiedEmailServer listening on port ${port}`);
|
logger.log('info', `UnifiedEmailServer listening on port ${port}`);
|
||||||
|
|
||||||
// Set up event handlers
|
// Event handlers are managed internally by the SmtpServer class
|
||||||
(smtpServer as any).server.on('error', (err: Error) => {
|
// No need to access the private server property
|
||||||
logger.log('error', `SMTP server error on port ${port}: ${err.message}`);
|
|
||||||
this.emit('error', err);
|
|
||||||
});
|
|
||||||
|
|
||||||
resolve();
|
resolve();
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
Reference in New Issue
Block a user