Avoid stacktrace on request failure

This commit is contained in:
Eli Ribble 2026-02-05 01:02:38 +00:00
parent af516242d3
commit 0e6e85825a
No known key found for this signature in database

View file

@ -94,6 +94,7 @@ class AddressOrReportInput extends HTMLElement {
return data.features;
} catch (error) {
console.error('Error fetching geocoding suggestions:', error);
return [];
}
}
@ -105,6 +106,7 @@ class AddressOrReportInput extends HTMLElement {
return data.reports;
} catch (error) {
console.error("Error fetching report suggestions:", error);
return [];
}
}