Tweak resolve filename error message

This commit is contained in:
Kevin Sawicki 2016-05-24 09:41:31 -07:00
parent deb15e60b5
commit 6de4249af8

View file

@ -257,9 +257,10 @@ function loadApplicationPackage (packagePath) {
try {
Module._resolveFilename(packagePath, module, true)
} catch (e) {
showErrorMessage('Unable to find Electron app.\n\n' +
`See: ${packagePath}`)
showErrorMessage(`Unable to find Electron app at ${packagePath}.\n\n${e.message}`)
return
}
// Run the app.
Module._load(packagePath, module, true)
} catch (e) {