Improved error logging

This commit is contained in:
La Programmatrice Verde
2025-08-21 22:17:38 +02:00
parent 3d6ee7698b
commit 407a428795
2 changed files with 6 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ async function isConnected(hostID) {
}
catch (error) {
Log(`[${shared.now()}] ${error}`);
Log(`[${shared.now()}] Errore nella verifica dello stato per l'host ${hostID}`);
process.exit(3);
}
}
@@ -164,6 +165,7 @@ async function initHostList() {
});
} catch (error) {
Log(`[${shared.now()}] ${error}`);
Log(`[${shared.now()}] Errore nel tentativo di reperire tutti i peer`);
process.exit(3);
}
}