lambda-log-wrapper
Advanced tools
Comparing version
@@ -15,8 +15,4 @@ 'use strict'; | ||
return this.getDuration(event) | ||
.then((result) => { | ||
return this.putMetricData(result); | ||
}) | ||
.then((result) => { | ||
return this.createLogGroup(result); | ||
}) | ||
.then(this.putMetricData.bind(this)) | ||
.then(this.createLogGroup.bind(this)) | ||
.catch((err) => { | ||
@@ -23,0 +19,0 @@ console.log('Lambda log Wrapper error: ',err); |
{ | ||
"name": "lambda-log-wrapper", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "This is wrapper around node lambda which calls and logs ", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
6814
-1.19%108
-3.57%