Add logging to help diagnose protocol handler false positives

This commit is contained in:
Scott Nonnenberg 2018-08-14 13:06:59 -07:00
parent 816228fde0
commit fba8e8d479

View file

@ -31,7 +31,9 @@ function _createFileHandler({ userDataPath, installPath, isWindows }) {
}
if (!target.startsWith(userDataPath) && !target.startsWith(installPath)) {
console.log(`Warning: denying request to path '${target}'`);
console.log(
`Warning: denying request to path '${target}' (userDataPath: '${userDataPath}', installPath: '${installPath}')`
);
return callback();
}