fix: metadata service init failure should halt server startup (#17356)

This commit is contained in:
Zack Pollard 2025-04-03 12:35:39 +01:00 committed by GitHub
parent b621281351
commit 40cff2893c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -117,6 +117,7 @@ export class MetadataService extends BaseService {
this.logger.log(`Initialized local reverse geocoder`);
} catch (error: Error | any) {
this.logger.error(`Unable to initialize reverse geocoding: ${error}`, error?.stack);
throw new Error(`Metadata service init failed`);
}
}