Improved logging
This commit is contained in:
parent
3f5d3f51bd
commit
0784f2ce49
2
main.js
2
main.js
@ -232,7 +232,7 @@ async function fetchRemoteDevicesData() {
|
||||
}
|
||||
});
|
||||
|
||||
console.log('Remote DB updated:', JSON.stringify(db.remote, null, 2));
|
||||
console.log(`Remote DB updated. A records: ${Object.keys(db.remote.A).length} PTR records: ${Object.keys(db.remote.PTR).length}`);
|
||||
|
||||
} catch (err) {
|
||||
console.error('Error fetching remote DB:', err);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user