chore(alerts): changed log message
This commit is contained in:
parent
b9a0fe1d94
commit
5b663febfe
1 changed files with 1 additions and 1 deletions
|
|
@ -201,7 +201,7 @@ def process():
|
|||
cur.execute(query)
|
||||
result = cur.fetchone()
|
||||
if result["valid"]:
|
||||
logging.info("Valid alert, notifying users, alertId:{alert['alertId']} name: {alert['name']}")
|
||||
logging.info(f"Valid alert, notifying users, alertId:{alert['alertId']} name: {alert['name']}")
|
||||
notifications.append(generate_notification(alert, result))
|
||||
except Exception as e:
|
||||
logging.error(f"!!!Error while running alert query for alertId:{alert['alertId']} name: {alert['name']}")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue