mschwartz / SilkJS

V8 Based JavaScript Swiss Army Knife (and HTTP Server!)
https://github.com/decafjs/decaf
Other
323 stars 37 forks source link

require() missing file console output issue #20

Open dorgan opened 12 years ago

dorgan commented 12 years ago

When using require() on a file that does not exist the following output is being output to the console:

/usr/share/silkjs/builtin/require.js:66: Could not locate require file smart throw 'Could not locate require file ' + module; ^ no stack trace available

I assuming it should only be outputting the first line and not the second.

mschwartz commented 12 years ago

If there was a stack, it'd print it.

On Apr 13, 2012, at 6:46 PM, dorgan wrote:

When using require() on a file that does not exist the following output is being output to the console:

/usr/share/silkjs/builtin/require.js:66: Could not locate require file smart throw 'Could not locate require file ' + module; ^ no stack trace available

I assuming it should only be outputting the first line and not the second.


Reply to this email directly or view it on GitHub: https://github.com/mschwartz/SilkJS/issues/20