File tree Expand file tree Collapse file tree 2 files changed +0
-20
lines changed
packages/webui/src/meteor Expand file tree Collapse file tree 2 files changed +0
-20
lines changed Original file line number Diff line number Diff 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 } ,
Original file line number Diff line number Diff 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-
6654function _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 ] )
You can’t perform that action at this time.
0 commit comments