feat(server): include reason in null reverse geocoding logs (#20347)

* Clarify in log why reverse geocoding may return nothing

* Decrease log level for empty reverse geocoding response from warn to log

* Use a named constant for 25km

* Mention fallback to countries in the message

* Improve natural earth log message

* Decrease log level for empty reverse geocoding response from natural earth countries
This commit is contained in:
Sergey Katsubo
2025-07-28 16:51:00 +03:00
committed by GitHub
parent 1e1c2ea627
commit d34670bae6
2 changed files with 7 additions and 6 deletions

View File

@@ -55,6 +55,7 @@ export const MACHINE_LEARNING_AVAILABILITY_BACKOFF_TIME = Number(
);
export const citiesFile = 'cities500.txt';
export const reverseGeocodeMaxDistance = 25_000;
export const MOBILE_REDIRECT = 'app.immich:///oauth-callback';
export const LOGIN_URL = '/auth/login?autoLaunch=0';