diff options
author | Evan Lucas <evanlucas@me.com> | 2016-01-26 21:58:46 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2016-01-29 01:58:46 +0300 |
commit | 5dec02a3d0e82202c021e27aff9d006283fdc25a (patch) | |
tree | 4b40282c250defee91965001e0c5b472f4e49e35 /test/fixtures | |
parent | 2609a2950704f577ac888668e81ba514568fab44 (diff) |
npm: don't bail if require() onload-script throws
instead, log the error using the warn log level and also log a notice
that the require failed.
Fixes: #10347
PR-URL: https://github.com/npm/npm/pull/11289
Credit: @evanlucas
Reviewed-By: @iarna
Diffstat (limited to 'test/fixtures')
-rw-r--r-- | test/fixtures/onload.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/fixtures/onload.js b/test/fixtures/onload.js new file mode 100644 index 000000000..90c1a3aa5 --- /dev/null +++ b/test/fixtures/onload.js @@ -0,0 +1 @@ +console.error('called onload') |