chore(misc): normalize logs (#242)

This commit is contained in:
Jef LeCompte
2020-09-23 14:20:06 -04:00
committed by GitHub
parent 8466f9f398
commit 7c50e2b5aa
21 changed files with 239 additions and 183 deletions
+2 -3
View File
@@ -15,7 +15,7 @@ puppeteer.use(adBlocker);
*/
async function main() {
if (Stores.length === 0) {
Logger.error('No stores selected.');
Logger.error('✖ no stores selected', Stores);
return;
}
@@ -53,7 +53,6 @@ async function main() {
try {
void main();
} catch (error) {
// Ignoring errors; more than likely due to rate limits
Logger.error(error);
Logger.error('✖ something bad happened, resetting nvidia-snatcher', error);
void main();
}