Skip to content

Commit

Permalink
Release of 2.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Apr 29, 2024
1 parent 8e5261d commit 117213b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 7 additions & 2 deletions lizmap_server/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 117213b

Please sign in to comment.