7 raven: function(record) {
15 logger: record.loggerName,
19 Object.keys(record.data || {})
20 .filter(function(key) {return key !== 'exception';})
21 .forEach(function(key) {
22 ravenData.tags[key] = record.data[key];
25 if(record.data && record.data.exception) {
26 window.Raven.captureException(record.data.exception, ravenData);
28 window.Raven.captureMessage(record.message, ravenData);