Update server/monitor-types/mysql.js
Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
parent
0188769636
commit
857f4e9550
@ -42,7 +42,7 @@ class MysqlMonitorType extends MonitorType {
|
||||
const conditionsResult = evaluateExpressionGroup(conditions, { result: String(result) });
|
||||
|
||||
if (!conditionsResult) {
|
||||
throw new Error(`Query result did not meet the specified conditions (${result})`);
|
||||
throw new Error(`Query result (${result}) did not meet the specified conditions`);
|
||||
}
|
||||
|
||||
heartbeat.status = UP;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user