@@ -17,7 +17,7 @@ export class WebhookController {
1717 static initializeBackgroundProcessor ( ) : void {
1818 if ( ! WebhookController . backgroundProcessor ) {
1919 WebhookController . backgroundProcessor = new WebhookController ( ) ;
20- LogEngine . log ( '🔄 Background webhook processor initialized' ) ;
20+ LogEngine . log ( 'Background webhook processor initialized' ) ;
2121 }
2222 }
2323
@@ -34,7 +34,7 @@ export class WebhookController {
3434 const { event, eventId } = req . body ;
3535
3636 // Log raw incoming webhook data
37- LogEngine . debug ( `🌐 RAW WEBHOOK RECEIVED:` , {
37+ LogEngine . debug ( `RAW WEBHOOK RECEIVED:` , {
3838 eventId,
3939 completeRawData : req . body
4040 } ) ;
@@ -48,7 +48,7 @@ export class WebhookController {
4848 // Quick validation only - no heavy processing
4949 const validationResult = this . webhookService . validateEvent ( req . body ) ;
5050 if ( ! validationResult . isValid ) {
51- LogEngine . error ( `❌ Event validation failed:` , validationResult . errors ) ;
51+ LogEngine . error ( `Event validation failed:` , validationResult . errors ) ;
5252 return res . status ( 400 ) . json ( {
5353 error : 'Invalid event structure' ,
5454 details : validationResult . errors
@@ -71,7 +71,7 @@ export class WebhookController {
7171 // Queue event for background processing (non-blocking)
7272 this . queueEventForBackgroundProcessing ( req . body , requestId ) ;
7373
74- LogEngine . debug ( `⚡ Immediate response sent` , {
74+ LogEngine . debug ( `Immediate response sent` , {
7575 eventId,
7676 requestId,
7777 responseTime : `${ responseTime } ms`
@@ -81,7 +81,7 @@ export class WebhookController {
8181
8282 } catch ( error ) {
8383 const responseTime = Date . now ( ) - startTime ;
84- LogEngine . error ( `💥 Error handling webhook: ${ error } ` ) ;
84+ LogEngine . error ( `Error handling webhook: ${ error } ` ) ;
8585 return res . status ( 500 ) . json ( {
8686 error : 'Internal server error' ,
8787 responseTime : `${ responseTime } ms` ,
@@ -106,12 +106,12 @@ export class WebhookController {
106106 await this . processEventInBackground ( event , requestId ) ;
107107 }
108108 } catch ( error ) {
109- LogEngine . error ( `💥 Background processing failed:` , {
109+ LogEngine . error ( `Background processing failed:` , {
110110 requestId,
111111 eventId : event ?. eventId ,
112- error : error instanceof Error ? error . message : 'Unknown error'
113- } ) ;
114- }
112+ error : error instanceof Error ? error . message : 'Unknown error'
113+ } ) ;
114+ }
115115 } ) ( ) ;
116116 } ) ;
117117 }
@@ -123,7 +123,7 @@ export class WebhookController {
123123 const startTime = Date . now ( ) ;
124124
125125 try {
126- LogEngine . debug ( `🔄 Background processing started` , {
126+ LogEngine . debug ( `Background processing started` , {
127127 eventId : event ?. eventId ,
128128 requestId
129129 } ) ;
@@ -133,15 +133,15 @@ export class WebhookController {
133133 await this . webhookService . processEvent ( event ) ;
134134
135135 const processingTime = Date . now ( ) - startTime ;
136- LogEngine . info ( `✅ Background processing completed` , {
136+ LogEngine . info ( `Background processing completed` , {
137137 eventId : event ?. eventId ,
138138 requestId,
139139 processingTime : `${ processingTime } ms`
140140 } ) ;
141141
142142 } catch ( error ) {
143143 const processingTime = Date . now ( ) - startTime ;
144- LogEngine . error ( `💥 Background processing failed:` , {
144+ LogEngine . error ( `Background processing failed:` , {
145145 eventId : event ?. eventId ,
146146 requestId,
147147 processingTime : `${ processingTime } ms` ,
0 commit comments