Tweak resolve filename error message
This commit is contained in:
parent
deb15e60b5
commit
6de4249af8
1 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue