Log sentry errors to the console

I’d like anything that gets reported to Sentry to also be emitted via console.log, but I’m not sure how to make that happen. Right now, raven will log something like:

raven@1.2.1 alert uncaughtException: <id>

But, this isn’t that useful to me. I can also attach a listener via Raven.on(“logged”), but again that only provides the sentry id as its context, so there’s no way to log the underlying error.

hi, when you use Raven.captureException(e); you can do like this: console.error(e);

Yes, I understand that. But I’d rather not have to – there’s not really any situation where I don’t want to also print the error to the log.

Bump. Is there an easy way to do this? I used to use the winston logger now that raven is deprecated, I can’t really do that anymore