Untitled
unknown
plain_text
5 months ago
621 B
5
Indexable
export class EngagementInsuranceHandler { private log: LoggerInterface; public constructor( private quotesHandler: QuotesHandler ) { this.log = new Logger(__filename); } public handle(message: any): any { try { if (message) { this.log.info('Message type: ' + message.type); this.log.info('PROCESS_QUOTES'); this.quotesHandler.processQuotes(message); } } catch (error) { this.log.error(`ENGAGEMENT_INSURANCE_HANDLER_ERROR: ${JSON.stringify(error)}`); } } }
Editor is loading...
Leave a Comment