File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed
src/destination/destinationHandlers Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -148,16 +148,9 @@ export class SlackService implements Handler {
148148 jsons = Mustache . render ( template , event . payload . scoopNotificationConfig . data ) ;
149149 } else {
150150 let parsedEvent = this . mh . parseEvent ( event as Event , true ) ;
151- console . log ( '=== SLACK DEBUG: Parsed event data ===' ) ;
152- console . log ( JSON . stringify ( parsedEvent , null , 2 ) ) ;
153151 jsons = Mustache . render ( template , parsedEvent ) ;
154152 }
155-
156- console . log ( '=== SLACK DEBUG: Rendered Mustache template ===' ) ;
157- console . log ( jsons ) ;
158153 let j = JSON . parse ( jsons )
159- console . log ( '=== SLACK DEBUG: Final Slack payload ===' ) ;
160- console . log ( JSON . stringify ( j , null , 2 ) ) ;
161154 const res = await sdk . send (
162155 {
163156 slack : j
@@ -166,8 +159,6 @@ export class SlackService implements Handler {
166159 return res ;
167160 } catch ( error ) {
168161 this . logger . error ( 'slack sendNotification error' , error )
169- console . log ( '=== SLACK DEBUG: Error details ===' ) ;
170- console . log ( error ) ;
171162 throw new CustomError ( "Unable to send slack notification" , 500 ) ;
172163 }
173164 }
You can’t perform that action at this time.
0 commit comments