update angular and do not send api key to loggly

This commit is contained in:
Matteo Pagliazzi
2015-01-16 17:39:47 +01:00
parent 290e602f21
commit 9a087d2d90
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -16,10 +16,10 @@
"dependencies": {
"jquery": "~2.1.0",
"jquery.cookie": "~1.4.0",
"angular": "1.3.3",
"angular": "1.3.9",
"angular-ui": "~0.4.0",
"angular-sanitize": "1.3.3",
"angular-resource": "1.3.3",
"angular-sanitize": "1.3.9",
"angular-resource": "1.3.9",
"angular-ui-utils": "~0.1.0",
"angular-ui-select2": "git://github.com/angular-ui/ui-select2.git",
"angular-bootstrap": "~0.12.0",
+1 -1
View File
@@ -79,7 +79,7 @@ module.exports.errorHandler = function(err, req, res, next) {
error: "Uncaught error",
stack: (err.stack || err.message || err),
body: req.body, headers: req.header,
auth: (req.headers['x-api-user'] + ' | ' + req.headers['x-api-key']),
auth: req.headers['x-api-user'],
originalUrl: req.originalUrl
});
var message = err.message ? err.message : err;