NomicFoundation / hardhat-vscode

Solidity and Hardhat support for Visual Studio Code

Home Page:https://hardhat.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve exception handling user data scrubbing

kanej opened this issue · comments

Sentry data collection uses the anonymized machineId when reporting exceptions. However, because we capture unexpected exceptions these can capture user home directory names, if there is a filesystem exception for instance.

Sentry has data scrubbing options: https://docs.sentry.io/platforms/node/data-management/sensitive-data/?original_referrer=https%3A%2F%2Fduckduckgo.com%2F

There does not appear to be a quick way of resolving this based on the above, instead a hand-coded approach is likely needed. The first step is a further investigation of the options.