mirror of
https://github.com/opelly27/streetmerchant.git
synced 2026-05-20 08:47:43 +00:00
chore(misc): normalize logs (#242)
This commit is contained in:
+2
-3
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user