mirror of
https://github.com/mvt-project/mvt.git
synced 2026-02-12 16:42:45 +00:00
update alerts.py
This commit is contained in:
@@ -61,7 +61,7 @@ class AlertStore:
|
||||
if hasattr(obj, "get_slug") and callable(obj.get_slug):
|
||||
try:
|
||||
return obj.get_slug()
|
||||
except:
|
||||
except Exception:
|
||||
pass
|
||||
|
||||
# Fallback: return "unknown" if we can't find the module
|
||||
|
||||
Reference in New Issue
Block a user