change log level to debug for classes without subscribers (#2594) (#2637)

This commit is contained in:
Flavio Torres
2016-09-02 15:29:05 -03:00
committed by Florent Vilmart
parent 9d2d208609
commit f6516a1d1e

View File

@@ -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()) {