ignore an expected error

This commit is contained in:
ansuz 2022-07-25 16:33:05 +05:30
parent 698269ad63
commit 6c73e05d19

View file

@ -202,6 +202,8 @@ RPC.create = function (Env, cb) {
var updateLimitInterval = function () {
Quota.updateCachedLimits(Env, function (e) {
// failure is expected if they have not specified a quota API endpoint
if (!Env.quota_api) { return; }
if (e) {
Env.WARN('limitUpdate', e);
}