diff --git a/CHANGELOG.md b/CHANGELOG.md index d1905d78..0eeb0fef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ ## Unreleased +## 2.9.0 - 2024-04-29 + +* Review the GetLegendGraphic +* Discard invalid layers from Services other than WMS +* WMS GetLegendGraphic JSON: Provide Warning icon for invalid layers +* Fix wrong maptip returned in case of layer short name versus layer name +* Review logging in case of error +* Internal refactoring about tests +* For Lizmap Web Client 3.8 : Extending replaceExpressionText Request with ALL features and GeoJSON format +* Add statistics + ## 2.8.6 - 2024-03-18 * GetFeatureInfo - Since QGIS 3.36, when reading a QGS file with an empty string, the variable is not returned diff --git a/lizmap_server/plugin.py b/lizmap_server/plugin.py index 660404d5..df7847c9 100755 --- a/lizmap_server/plugin.py +++ b/lizmap_server/plugin.py @@ -29,8 +29,13 @@ def __init__(self, server_iface: QgsServerInterface) -> None: self.logger = Logger() self.version = version() self.logger.info('Init server version "{}"'.format(self.version)) - self.plausible = Plausible() - self.plausible.request_stat_event() + # noinspection PyBroadException + try: + self.plausible = Plausible() + self.plausible.request_stat_event() + except Exception as e: + self.logger.log_exception(e) + self.logger.critical('Error while calling the API stats') service_registry = server_iface.serviceRegistry()