From 069d53a9a005b38d3d4c566306d47e7d77fcc87f Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 7 Feb 2018 08:02:37 -0500 Subject: [PATCH] Add the object debug when path to event does not exist in DiskSpace --- scripts/ZoneMinder/lib/ZoneMinder/Event.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm index 766436a84..0eb9e2763 100644 --- a/scripts/ZoneMinder/lib/ZoneMinder/Event.pm +++ b/scripts/ZoneMinder/lib/ZoneMinder/Event.pm @@ -470,7 +470,7 @@ sub DiskSpace { $_[0]{DiskSpace} = $size; Debug("DiskSpace for event $_[0]{Id} at $_[0]{Path} Updated to $size bytes"); } 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 return $_[0]{DiskSpace};