mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Standardise API error response format
This commit is contained in:
@@ -99,7 +99,6 @@ module.exports = {
|
||||
authenticateClient: authenticateClient,
|
||||
getToken: getToken,
|
||||
errorHandler: function(err,req,res,next) {
|
||||
//TODO: standardize json response
|
||||
//TODO: audit log statment
|
||||
//console.log(err.stack);
|
||||
//log.log({level:"audit",type:"auth",msg:err.toString()});
|
||||
|
Reference in New Issue
Block a user