numo-labs / aws-lambda-helper

:lollipop: Collection of helper methods for lambda
GNU General Public License v3.0
22 stars 2 forks source link

Fix for when the invoked lambda doesn't return anything #68

Closed hassy closed 8 years ago

hassy commented 8 years ago

If the lambda being called calls callback() (or doesn't explicitly call it at all), "payload" is null and looking up a property on it will throw.

codecov-io commented 8 years ago

Current coverage is 96.82%

Merging #68 into master will not change coverage

@@             master        #68   diff @@
==========================================
  Files             2          2          
  Lines           189        189          
  Methods          26         26          
  Messages          0          0          
  Branches         44         44          
==========================================
  Hits            183        183          
  Misses            6          6          
  Partials          0          0          

Sunburst

Powered by Codecov. Last updated by 1cb2fda...32cfe62