File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,14 +17,14 @@ exports.handler = async (event, context) => {
1717 const lastStatus = event . detail . lastStatus ;
1818 const stoppedReason = event . detail . stoppedReason ;
1919
20- if ( lastStatus === " STOPPED" ) {
21- const message = `_[${ account } ]_ *${ service } * in ${ region } is *STOPPED*.\n*Reason:* ${ stoppedReason } .` ;
20+ if ( lastStatus === ' STOPPED' ) {
21+ const message = `_[${ account } ]_ task *${ service } * in ${ region } is *STOPPED*.\n*Reason:* ${ stoppedReason } .` ;
2222 console . error ( message ) ;
2323
2424 await webhook . send ( {
2525 text : message
2626 } ) ;
2727 } else {
28- console . log ( `[${ account } ] ${ service } in ${ region } is ${ lastStatus } ` ) ;
28+ console . log ( `[${ account } ] task ${ service } in ${ region } is ${ lastStatus } ` ) ;
2929 }
3030} ;
You can’t perform that action at this time.
0 commit comments