numo-labs / aws-lambda-helper

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

Log errors on exception #38

Closed tomgco closed 8 years ago

nelsonic commented 8 years ago

@tomgco given that its quite hard to test process.on('uncaughtException' I propose using an /* istanbul ignore next */ above line 280 ... thoughts?

tomgco commented 8 years ago

@tomgco given that its quite hard to test process.on('uncaughtException' I propose using an /* istanbul ignore next */ above line 280 ... thoughts?

Sounds good to me, was trying to think of a way, but the testing framework messes too much with process apparently.

codecov-io commented 8 years ago

Current coverage is 100%

Merging #38 into master will not change coverage

@@           master   #38   diff @@
===================================
  Files           1     1          
  Lines         115   121     +6   
  Methods         0     0          
  Messages        0     0          
  Branches        0     0          
===================================
+ Hits          115   121     +6   
  Misses          0     0          
  Partials        0     0          

Sunburst

Powered by Codecov. Last updated by 77ef621...d55ccad

nelsonic commented 8 years ago

Cool. thanks for adding that. 👍

nelsonic commented 8 years ago