Add the object debug when path to event does not exist in DiskSpace
This commit is contained in:
parent
4c5e47b050
commit
069d53a9a0
|
@ -470,7 +470,7 @@ sub DiskSpace {
|
||||||
$_[0]{DiskSpace} = $size;
|
$_[0]{DiskSpace} = $size;
|
||||||
Debug("DiskSpace for event $_[0]{Id} at $_[0]{Path} Updated to $size bytes");
|
Debug("DiskSpace for event $_[0]{Id} at $_[0]{Path} Updated to $size bytes");
|
||||||
} else {
|
} else {
|
||||||
Warning("Event does not exist at $_[0]{Path}");
|
Warning("DiskSpace: Event does not exist at $_[0]{Path}:" . $Event->to_string() );
|
||||||
}
|
}
|
||||||
} # end if ! defined DiskSpace
|
} # end if ! defined DiskSpace
|
||||||
return $_[0]{DiskSpace};
|
return $_[0]{DiskSpace};
|
||||||
|
|
Loading…
Reference in New Issue