Don't log host in javascript error

This commit is contained in:
Ruud
2012-04-16 00:12:52 +02:00
parent ce25e8a9ad
commit 7704ff8e75
+2 -2
View File
@@ -66,8 +66,8 @@
'data': {
'type': 'error',
'message': Browser.name + ' ' + Browser.version + ': \n' + message,
'page': window.location.href,
'file': file,
'page': window.location.href.replace(window.location.host, 'HOST'),
'file': file.replace(window.location.host, 'HOST'),
'line': line
}
});