nodeJS Client not saving message

rs324

Posted on
May 01 2014

Hi i installed the latest version of raygun client using npm

and i`m trying to send errors manually

 raygunClient.send('myCustomError Title',JsonData);

i see the error on the dashboard but its appear as "NoMessage"

all the custom data is there

thanks.


Callum

Posted on
May 01 2014

Send takes an Error object, so you simply need to do this:

raygunClient.send(Error('myCustomError Title'), JsonData);

Hope this helps!


Reply