Improved logging

This commit is contained in:
git 2025-06-15 20:06:24 +01:00
parent 3f5d3f51bd
commit 0784f2ce49

View File

@ -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) { } catch (err) {
console.error('Error fetching remote DB:', err); console.error('Error fetching remote DB:', err);