SilkJS icon indicating copy to clipboard operation
SilkJS copied to clipboard

require() missing file console output issue

Open dorgan opened this issue 12 years ago • 1 comments

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.

dorgan avatar Apr 14 '12 01:04 dorgan

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

mschwartz avatar Apr 14 '12 01:04 mschwartz