require() missing file console output issue #20

Open
dorgan opened this Issue Apr 14, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@dorgan

dorgan commented Apr 14, 2012

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

This comment has been minimized.

Show comment
Hide comment
@mschwartz

mschwartz Apr 14, 2012

Owner

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:
#20

Owner

mschwartz commented Apr 14, 2012

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:
#20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment