fix: Update to loopback@^3 and add strong-error-hanlder@^1

pull/15892/head
Mrugesh Mohapatra 2017-05-05 12:54:33 +05:30
parent 54feadc6e2
commit 460ce2644a
3 changed files with 10 additions and 3 deletions

View File

@ -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",

View File

@ -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,

View File

@ -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
}
}
} }
} }