List monitor id in warning message about not being assigned a server.

pull/3825/merge
Isaac Connor 2024-11-04 09:17:20 -05:00
parent 6a2b1b0341
commit 5c01109f03
1 changed files with 1 additions and 1 deletions

View File

@ -652,7 +652,7 @@ class Monitor extends ZM_Object {
} else if ($this->ServerId()) {
$result = $this->Server()->SendToApi('/monitors/daemonControl/'.$this->{'Id'}.'/'.$mode.'/zmc.json');
} else {
Error('Server not assigned to Monitor in a multi-server setup. Please assign a server to the Monitor.');
Error('Server not assigned to Monitor '.$this->{'Id'}.' in a multi-server setup. Please assign a server to the Monitor.');
}
} // end function zmcControl