chore: remove console.error (#7883)
* chore: remove console.error * fix: replace console.error with debugError Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
This commit is contained in:
parent
05f9009821
commit
543a4d44bc
@ -113,7 +113,7 @@ export class BrowserRunner {
|
|||||||
await removeFolderAsync(this._userDataDir);
|
await removeFolderAsync(this._userDataDir);
|
||||||
fulfill();
|
fulfill();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
debugError(error);
|
||||||
reject(error);
|
reject(error);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -133,7 +133,7 @@ export class BrowserRunner {
|
|||||||
await renameAsync(prefsBackupPath, prefsPath);
|
await renameAsync(prefsBackupPath, prefsPath);
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
debugError(error);
|
||||||
reject(error);
|
reject(error);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user