Import log instead of using it off of window

This commit is contained in:
Josh Perez
2021-09-17 14:27:53 -04:00
committed by GitHub
parent 8eb0dd3116
commit 65ddf0a9e8
155 changed files with 3654 additions and 3433 deletions

View File

@@ -78,12 +78,12 @@ before(async () => {
await deleteIndexedDB();
try {
window.log.info('Initializing SQL in renderer');
window.SignalWindow.log.info('Initializing SQL in renderer');
const isTesting = true;
await window.sqlInitializer.initialize(isTesting);
window.log.info('SQL initialized in renderer');
window.SignalWindow.log.info('SQL initialized in renderer');
} catch (err) {
window.log.error(
window.SignalWindow.log.error(
'SQL failed to initialize',
err && err.stack ? err.stack : err
);