remove a log message about fetching URLs (#643)

Every fetch made from the client is logged to the console.
But this isn't really necessary, and is particularly confusing
in grist-static, where those fetches are virtualized.

Tests in grist-saas may need adjusting to remove the logger.
This commit is contained in:
Paul Fitzpatrick
2023-08-29 08:49:25 -04:00
committed by GitHub
parent ce02fb94a8
commit 8d687a7651
6 changed files with 3 additions and 16 deletions

View File

@@ -13,7 +13,6 @@ import {UserProfile} from 'app/common/LoginSessionAPI';
import {BehavioralPrompt, UserPrefs, WelcomePopup} from 'app/common/Prefs';
import {DocWorkerAPI, UserAPI, UserAPIImpl} from 'app/common/UserAPI';
import {HomeDBManager} from 'app/gen-server/lib/HomeDBManager';
import log from 'app/server/lib/log';
import {TestingHooksClient} from 'app/server/lib/TestingHooks';
import EventEmitter = require('events');
@@ -445,7 +444,7 @@ export class HomeUtil {
headers,
fetch: fetch as any,
newFormData: () => new FormData() as any, // form-data isn't quite type compatible
logger: log});
});
}
private async _toggleTips(enabled: boolean, email: string) {