Add logging to help diagnose protocol handler false positives

pull/1/head
Scott Nonnenberg 7 years ago
parent 816228fde0
commit fba8e8d479

@ -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();
}

Loading…
Cancel
Save