fix: Update to loopback@^3 and add strong-error-hanlder@^1
parent
54feadc6e2
commit
460ce2644a
|
@ -74,7 +74,7 @@
|
||||||
"jsonlint-cli": "^1.0.1",
|
"jsonlint-cli": "^1.0.1",
|
||||||
"lightbox2": "~2.8.2",
|
"lightbox2": "~2.8.2",
|
||||||
"lodash": "^4.1.0",
|
"lodash": "^4.1.0",
|
||||||
"loopback": "^2.22.0",
|
"loopback": "^3.8.0",
|
||||||
"loopback-boot": "^2.13.0",
|
"loopback-boot": "^2.13.0",
|
||||||
"loopback-component-passport": "^2.0.0",
|
"loopback-component-passport": "^2.0.0",
|
||||||
"loopback-connector-mongodb": "1.17.0",
|
"loopback-connector-mongodb": "1.17.0",
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
"rest": {
|
"rest": {
|
||||||
"handleErrors": false,
|
"handleErrors": false,
|
||||||
"normalizeHttpPath": false,
|
"normalizeHttpPath": false,
|
||||||
"xml": false
|
"xml": false,
|
||||||
|
"handleErrors": false
|
||||||
},
|
},
|
||||||
"json": {
|
"json": {
|
||||||
"strict": false,
|
"strict": false,
|
||||||
|
|
|
@ -54,6 +54,12 @@
|
||||||
"files": {},
|
"files": {},
|
||||||
"final:after": {
|
"final:after": {
|
||||||
"./middlewares/error-reporter": {},
|
"./middlewares/error-reporter": {},
|
||||||
"./middlewares/error-handlers": {}
|
"./middlewares/error-handlers": {},
|
||||||
|
"strong-error-handler": {
|
||||||
|
"params": {
|
||||||
|
"debug": false,
|
||||||
|
"log": true
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue