From f6516a1d1e7bec8e999b32dda60b97fe73281c26 Mon Sep 17 00:00:00 2001 From: Flavio Torres Date: Fri, 2 Sep 2016 15:29:05 -0300 Subject: [PATCH] change log level to debug for classes without subscribers (#2594) (#2637) --- 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 044c6536..6f737f6d 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()) {