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