You can clone with
HTTPS or Subversion.
If I use the latest master version of raven-node, I get:
line.getTypeName() + '.' + (line.getMethodName() || '');
When running "client.captureError(new Error("Could not connect to server over Tor."));".
The npm version I had before doesn't crash.
Thank you! ;)
I can't seem to recreate this. Can you show me what you're doing? I lamely just tried:
var raven = require('../');
var client = new raven.Client('https://abc:firstname.lastname@example.org/4291');
client.captureError(new Error("Could not connect to server over Tor."));
and it was fine, so I'm assuming there are other variables going into this.
I might have found the problem. I'm using strict:
With it on it crashes, without it, it doesn't.
Well, that does it. Is that a thing that people use in Node? haha, I don't think I've ever seen it server side before.
Haha, I don't really know.
I'll just leave it out. Everything works fine now!
I highly appreciate the time and effort you have put in this plugin, thanks a bunch!
Have a nice day!
@fredefl, I've tracked it specifically with #41. I'm going to see what's different and patch that up.
Cool! All the other plugins I've used were compatible with strict, so yes, it might be necessary.
Eh, fixed in master if you want to give it another shot for fun. :)
Yes that fixes it, that was quick! :)
Just a quick heads up, this new version requires raw-stacktrace.
Yep. That was from another pull request I landed.
Yeah I saw that. :)
When will it land in the npm repos?
Awesome, what will the version number be so I can verify?
Just a quick question.
I have this event that happens regularly - which is OK, but I still need to monitor it.
The event is regarding a single person, but happens to all persons in my database.
For example: "Error: Error while getting: mrFunkyFred".
However the message "Error: Error while getting: lePeteX" generates a different and completely seperate error message.
Is there any way I can include the persons name in the error report, without creating a seperate error type for each.
So the error should just be "Error: Error while getting person".
Wanna hop in IRC? #sentry on Freenode.