You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Do not return result of inner handler for lambda #637
As of this release, the lambdaHandler no longer supports the non-callback version of lambda functions which have been deprecated by AWS for a while (https://docs.aws.amazon.com/lambda/latest/dg/programming-model.html). This is to fix a bug when returning values from handlers for version 8.10. If you are using Lambda, you should be on Node v6.10 or higher and using the callback parameter for communication with the runtime. The change to using the callback versions the inline return is trivial (return x becomes callback(null, x))
Report lambda timeouts 1 second before they happen #634
Introduce the option captureLambdaTimeouts which defaults to true. When this is true we will install a watchdog that will attempt to notify Rollbar of a timeout 1s before the context would expire. Alternatively, if you pass a second function to lambdaHandler we will invoke that function 1s before the timeout instead of our own which will allow you to do whatever you might want to right before a timeout.
We include more default keys for scrubbing in the browser as well as default to scrubbing input fields in telemetry items where the name matches anything in the scrub fields if a custom telemetryScrubber function is not defined.