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:
Junyan 2022-02-18 16:47:14 +08:00 committed by GitHub
parent 05f9009821
commit 543a4d44bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,7 +113,7 @@ export class BrowserRunner {
await removeFolderAsync(this._userDataDir);
fulfill();
} catch (error) {
console.error(error);
debugError(error);
reject(error);
}
} else {
@ -133,7 +133,7 @@ export class BrowserRunner {
await renameAsync(prefsBackupPath, prefsPath);
}
} catch (error) {
console.error(error);
debugError(error);
reject(error);
}
}