Branch: refs/heads/2.3.0
Home:
https://github.com/Checkmk/checkmk
Commit: e334aa23967c034a1dc07ae96dd0f2c9ce779a5b
https://github.com/Checkmk/checkmk/commit/e334aa23967c034a1dc07ae96dd0f2c9c…
Author: Lars Michelsen <lm(a)checkmk.com>
Date: 2024-03-01 (Fri, 01 Mar 2024)
Changed paths:
M cmk/gui/utils/__init__.py
Log Message:
-----------
Improve warnings created while reading in extension files
Previously we produced exceptions or python warning messages without
references to the origin of this issue, similar to this:
```
<string>:52: SyntaxWarning: invalid escape sequence '\D'
```
With this change we get messages referencing to source of the message:
```
/omd/sites/beta/etc/check_mk/conf.d/wato/rules.mk:52: SyntaxWarning: invalid escape
sequence '\D'
{'id': '24da4ccd-0d1b-40e3-af87-0097df8668f2', 'value':
('service', '\Docker container status'), 'condition':
{'host_label_groups': [('and', [('and',
'cmk/docker_object:container')])]}, 'options': {'description':
'Make all docker container host states base on the "Docker container status"
service'}},
```
Change-Id: Id1331828f7835c67959c5b3b07ed06944e5b998e
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications