always getting "NoMessage"

Nico

Posted on
Apr 16 2015

Hi!

I´m new to Raygun and try to send manual messages like this:

var raygun = require('raygun'); var raygunClient = new raygun.Client().init({ apiKey: 'mykey });

and then:

raygunClient.send(new Error(), { 'hash': hash }, function (response){ });

or

raygunClient.send("something bad happend");

When I go to the dashboard I see the error but it just says "NoMessage".

Any ideas?


Callum

Posted on
Apr 16 2015

Try

raygunClient.send(new Error('something bad happened'))

Hope that helps!


Nico

Posted on
Apr 16 2015

Nope, still the same problem.

This is my minimal test file:

var raygun = require('raygun');

var raygunClient = new raygun.Client().init({ apiKey: 'apikey' });

raygunClient.send(new Error('something bad happened'));


Nico

Posted on
Apr 16 2015

Ok, solved it.

My webservice was running with raygun and the same apikey.

When I turn it off and run the testfile everything works!


Reply