From fba8e8d47924b0a99e5229fc9250b768dd4ea7aa Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Tue, 14 Aug 2018 13:06:59 -0700 Subject: [PATCH] Add logging to help diagnose protocol handler false positives --- app/protocol_filter.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/protocol_filter.js b/app/protocol_filter.js index 7ff7030af9..31802a1357 100644 --- a/app/protocol_filter.js +++ b/app/protocol_filter.js @@ -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(); }