Added surf data
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
GeorgeWebberley 2026-01-28 12:44:02 +01:00
parent 0804c0aa74
commit b5238e238e

View file

@ -55,8 +55,11 @@ async function fetchSurfData() {
} catch (error) { } catch (error) {
if (error.code === 'ECONNREFUSED') { if (error.code === 'ECONNREFUSED') {
console.error("❌ Database is not ready yet. Retrying in the next cycle..."); console.error("❌ Database is not ready yet. Retrying in the next cycle...");
} else if (error.response) {
console.error("Data:", error.response.data);
console.error("Status:", error.response.status);
} else { } else {
console.error("❌ Fetch error:", error.message); console.error("Error:", error.message);
} }
} }
} }