File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 44 *
55 * Base class for AWS Lambda based collectors.
66 *
7- * Last message ID: AWSC0011
7+ * Last message ID: AWSC0013
88 * @end
99 * -----------------------------------------------------------------------------
1010 */
@@ -134,8 +134,7 @@ class AlAwsCollector {
134134 util . inspect ( error ) ;
135135 }
136136 const status = this . prepareErrorStatus ( errorString ) ;
137- this . sendStatus ( status , ( sendError ) => {
138- console . warn ( 'AWSC0011 Collector status send failed' , sendError ) ;
137+ this . sendStatus ( status , ( ) => {
139138 context . fail ( errorString ) ;
140139 } ) ;
141140 } else {
@@ -383,6 +382,7 @@ class AlAwsCollector {
383382 return callback ( null , resp ) ;
384383 } )
385384 . catch ( exception => {
385+ console . warn ( 'AWSC0013 Collector status send failed: ' , exception ) ;
386386 return callback ( exception ) ;
387387 } ) ;
388388 }
Original file line number Diff line number Diff line change 11{
22 "name" : " @alertlogic/al-aws-collector-js" ,
3- "version" : " 2.0.8 " ,
3+ "version" : " 2.0.9 " ,
44 "license" : " MIT" ,
55 "description" : " Alert Logic AWS Collector Common Library" ,
66 "repository" : {
You can’t perform that action at this time.
0 commit comments