How to use the parsers function from raven
Find comprehensive JavaScript raven.parsers code examples handpicked from public code repositorys.
GitHub: bermanboris/numvalidate
17 18 19 20 21 22
} Raven.captureMessage(msg, meta); } }; exports.parseRequest = Raven.parsers.parseRequest;
20
0
2
84 85 86 87 88 89 90 91 92
function isRequest(obj) { return obj && obj.method && (obj.originalUrl || obj.url) } function parseRequest(req, kwargs) { raven.parsers.parseRequest(req, kwargs); kwargs.user = { ip_address: req.ip }; if (null != req.user) kwargs.user.id = req.user.id; }
3
0
2
GitHub: Financial-Times/n-raven
116 117 118 119 120 121
}; } module.exports.utils = raven.utils; module.exports.transports = raven.transports; module.exports.parsers = raven.parsers;
2
1
89
+ 3 other calls in file
raven.captureException is the most popular function in raven (228 examples)