Skip to content
This repository was archived by the owner on Jun 21, 2021. It is now read-only.

Runtime Errors are not being handled right. #5

Open
pouyakary opened this issue Mar 4, 2017 · 0 comments
Open

Runtime Errors are not being handled right. #5

pouyakary opened this issue Mar 4, 2017 · 0 comments

Comments

@pouyakary
Copy link
Owner

pouyakary commented Mar 4, 2017

Runtime errors like this are not being handled right

{ Error: ENOENT: no such file or directory, open '/Users/pmk/OneDrive/Codes/KaryScript/tests/test-drive/
bin/main.js'
    at Object.fs.openSync (fs.js:558:18)
    at Object.fs.writeFileSync (fs.js:1223:33)
    at Object.BuildSingleFile (/Users/pmk/OneDrive/Codes/KaryScript/bin/cli.js:85:32)
    at Object.Build (/Users/pmk/OneDrive/Codes/KaryScript/bin/cli.js:120:36)
    at Object.RunBuild (/Users/pmk/OneDrive/Codes/KaryScript/bin/cli.js:217:40)
    at SwitchRunner (/Users/pmk/OneDrive/Codes/KaryScript/bin/cli.js:2136:33)
    at Object.Main (/Users/pmk/OneDrive/Codes/KaryScript/bin/cli.js:2115:17)
    at Object.<anonymous> (/Users/pmk/OneDrive/Codes/KaryScript/bin/cli.js:2141:16)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/pmk/OneDrive/Codes/KaryScript/tests/test-drive/bin/main.js' }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant