From 92c0aa0ade0e22c0851f57a0166c3e4fe550ba1f Mon Sep 17 00:00:00 2001 From: flavionegrao Date: Thu, 1 Sep 2016 11:57:41 -0300 Subject: [PATCH] change log level to debug for classes without subscribers (#2594) --- src/LiveQuery/ParseLiveQueryServer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/LiveQuery/ParseLiveQueryServer.js b/src/LiveQuery/ParseLiveQueryServer.js index 044c653660..6f737f6d58 100644 --- a/src/LiveQuery/ParseLiveQueryServer.js +++ b/src/LiveQuery/ParseLiveQueryServer.js @@ -108,7 +108,7 @@ class ParseLiveQueryServer { let classSubscriptions = this.subscriptions.get(className); if (typeof classSubscriptions === 'undefined') { - logger.error('Can not find subscriptions under this class ' + className); + logger.debug('Can not find subscriptions under this class ' + className); return; } for (let subscription of classSubscriptions.values()) { @@ -153,7 +153,7 @@ class ParseLiveQueryServer { let classSubscriptions = this.subscriptions.get(className); if (typeof classSubscriptions === 'undefined') { - logger.error('Can not find subscriptions under this class ' + className); + logger.debug('Can not find subscriptions under this class ' + className); return; } for (let subscription of classSubscriptions.values()) {