How to report handled exception from AWS Lambda(Node JS) to NewRelic?

Hey,

I have integrated New Relic to my Lambda Function(NodeJS) via Lambda Extension.

Things are working fine. I am getting all kinds of the metric in the Dashboard.

But handled exceptions are not showing up in the error sections. Errors from LambdaRuntime and Error class are showing up.

I am manually logging the error:

try{

} catch(error){
  console.error(error);
}

Is there a way to flag such errors as well in New Relic dashboard?

@toolsadmin Sorry you have been waiting awhile for a response from our community. I’m going to bring this back to the attention of our support team. Thanks for your patience!

Neal Mc