partial stack trace for unhandled promise rejections

This commit is contained in:
Daniel Lugo 2020-03-10 18:09:53 -04:00
parent 5c649b4692
commit dfca4d9bbd

View file

@ -5,7 +5,7 @@
"main": "src/server.js", "main": "src/server.js",
"scripts": { "scripts": {
"start": "node --experimental-modules src/server.js", "start": "node --experimental-modules src/server.js",
"dev": "node main.js -h 0.0.0.0", "dev": "node --trace-warnings main.js -h 0.0.0.0",
"dev:watch": "nodemon main.js -- -h 0.0.0.0", "dev:watch": "nodemon main.js -- -h 0.0.0.0",
"test": "jest --no-cache", "test": "jest --no-cache",
"test:watch": "jest --no-cache --watch", "test:watch": "jest --no-cache --watch",