Merge pull request +6652 from c9/raygun-errors

Raygun errors
c9
Lennart Kats 2015-03-19 15:19:49 +01:00
commit 59bfa6e1ea
4 zmienionych plików z 7 dodań i 5 usunięć

Wyświetl plik

@ -1038,6 +1038,7 @@ var VirtualRenderer = function(container, theme) {
};
this.$updateLines = function() {
if (!this.$changedLines) return;
var firstRow = this.$changedLines.firstRow;
var lastRow = this.$changedLines.lastRow;
this.$changedLines = null;

Wyświetl plik

@ -60,7 +60,7 @@
"c9.ide.language.javascript.tern": "#7aab8b0b6a",
"c9.ide.language.javascript.infer": "#ebb2daf81a",
"c9.ide.language.jsonalyzer": "#d82c60fcb9",
"c9.ide.collab": "#e1b2c7d774",
"c9.ide.collab": "#7c770ca148",
"c9.ide.local": "#2bfd7ff051",
"c9.ide.find": "#989c06e6a7",
"c9.ide.find.infiles": "#f98dfef554",
@ -93,7 +93,7 @@
"c9.ide.pubsub": "#92ec19ed3a",
"c9.ide.readonly": "#f6f07bbe42",
"c9.ide.recentfiles": "#7c099abf40",
"c9.ide.remote": "#f0cdb59bec",
"c9.ide.remote": "#f531d62cfb",
"c9.ide.run": "#f5a056e6ce",
"c9.ide.run.build": "#915e48b363",
"c9.ide.save": "#a32a8f4346",

Wyświetl plik

@ -1419,7 +1419,8 @@ window.TraceKit = TraceKit;
var blackListedErrors = {
'Error with empty message': {},
'Script error.': {}
'Script error.': {},
'DealPly is not defined': { factor: 10e5 }
};
function processUnhandledException(stackTrace, options) {
var stack = [],
@ -1479,7 +1480,7 @@ window.TraceKit = TraceKit;
if (blackListedErrors.hasOwnProperty(message)) {
var count = (blackListedErrors[message].count || 0) + 1;
blackListedErrors[message].count = count;
if (count % 10 !== 1) {
if (count % (blackListedErrors[message].factor || 10) !== 1) {
return;
}
finalCustomData.$blackList = blackListedErrors[message];

Wyświetl plik

@ -311,7 +311,7 @@ define(function(require, exports, module) {
"content-length": data.length + inject.length,
"content-type": request.headers["content-type"],
"etag": request.headers.etag,
"date": request.headers.data,
"date": request.headers.date,
"access-control-allow-origin": "https://ide." + ideHost
});
res.write(data);