Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion content/wardrive.js
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,9 @@ async function sendPing(manual = false) {
// Post to MeshMapper API after delay (fire-and-forget pattern: non-blocking, errors are logged inside the function)
// Delay allows the ping to propagate through the mesh network before API post
setTimeout(() => {
postToMeshMapperAPI(lat, lon);
postToMeshMapperAPI(lat, lon).catch(err => {
console.error("Delayed API post failed:", err);
});
}, MESHMAPPER_API_DELAY_MS);

// Only refresh coverage iframe if GPS accuracy is good
Expand Down