rollbar / rollbar.js

Error tracking and logging from Javascript to Rollbar

Home Page:https://docs.rollbar.com/docs/javascript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

captureIp has no effect for Electron apps

shadow-light opened this issue · comments

commented

The captureIp config param appears to be ignored when there is no window, i.e. Node. Which makes sense when you are capturing errors on a node server. But it also stops capturing IP for Electron apps, where it can be useful to be able to know how many users are affected by an issue.

A workaround is to manually set payload.request.user_ip to $remote_ip or $remote_ip_anonymize.