Log monitor id and name in error message about not being able to load control
parent
1502723a74
commit
53d7d910d7
|
@ -467,7 +467,7 @@ sub Control {
|
|||
}
|
||||
require Module::Load::Conditional;
|
||||
if (!Module::Load::Conditional::can_load(modules => {'ZoneMinder::Control::'.$Protocol => undef})) {
|
||||
Error("Can't load ZoneMinder::Control::$Protocol\n$Module::Load::Conditional::ERROR");
|
||||
Error("Monitor $$self{Id} $$self{Name} Can't load ZoneMinder::Control::$Protocol\n$Module::Load::Conditional::ERROR");
|
||||
return undef;
|
||||
}
|
||||
$Control = $Control->clone(); # Because this object is not per monitor specific
|
||||
|
|
Loading…
Reference in New Issue