Skip to content

Commit f2b910e

Browse files
committed
wip
1 parent 023361e commit f2b910e

File tree

2 files changed

+0
-20
lines changed

2 files changed

+0
-20
lines changed

packages/webui/src/meteor/meteor.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@ const Meteor = {
33
console.debug(...args)
44
},
55

6-
_suppressed_log_expected: () => {
7-
return true
8-
},
9-
_suppress_log: (i) => {
10-
//
11-
},
12-
136
_setImmediate: (cb) => {
147
return setTimeout(cb, 0)
158
},

packages/webui/src/meteor/tracker.js

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,6 @@ function _debugFunc() {
5151
: function () {}
5252
}
5353

54-
function _maybeSuppressMoreLogs(messagesLength) {
55-
// Sometimes when running tests, we intentionally suppress logs on expected
56-
// printed errors. Since the current implementation of _throwOrLog can log
57-
// multiple separate log messages, suppress all of them if at least one suppress
58-
// is expected as we still want them to count as one.
59-
if (typeof Meteor !== 'undefined') {
60-
if (Meteor._suppressed_log_expected()) {
61-
Meteor._suppress_log(messagesLength - 1)
62-
}
63-
}
64-
}
65-
6654
function _throwOrLog(from, e) {
6755
if (throwFirstError) {
6856
throw e
@@ -78,7 +66,6 @@ function _throwOrLog(from, e) {
7866
}
7967
}
8068
printArgs.push(e.stack)
81-
_maybeSuppressMoreLogs(printArgs.length)
8269

8370
for (var i = 0; i < printArgs.length; i++) {
8471
_debugFunc()(printArgs[i])

0 commit comments

Comments
 (0)