Skip to content

Commit

Permalink
chore: remove console.error (#7883)
Browse files Browse the repository at this point in the history
* chore: remove console.error

* fix: replace console.error with debugError

Co-authored-by: Alex Rudenko <OrKoN@users.noreply.github.com>
  • Loading branch information
Junyan and OrKoN committed Feb 18, 2022
1 parent 05f9009 commit 543a4d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/node/BrowserRunner.ts
Expand Up @@ -113,7 +113,7 @@ export class BrowserRunner {
await removeFolderAsync(this._userDataDir);
fulfill();
} catch (error) {
console.error(error);
debugError(error);
reject(error);
}
} else {
Expand All @@ -133,7 +133,7 @@ export class BrowserRunner {
await renameAsync(prefsBackupPath, prefsPath);
}
} catch (error) {
console.error(error);
debugError(error);
reject(error);
}
}
Expand Down

0 comments on commit 543a4d4

Please sign in to comment.