From: Jonathan Prykop Date: Thu, 2 Jul 2015 18:16:21 +0000 (-0500) Subject: RT#18834: Cacti integration [added warning messages] X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=54f53f28eb9dbd42705fabc76a17cfdb44b57b85;p=freeside.git RT#18834: Cacti integration [added warning messages] --- diff --git a/FS/FS/part_export/cacti.pm b/FS/FS/part_export/cacti.pm index cbb50af79..cfd71b241 100644 --- a/FS/FS/part_export/cacti.pm +++ b/FS/FS/part_export/cacti.pm @@ -493,8 +493,12 @@ sub process_graphs { $dbh->rollback if $oldAutoCommit; die $error; } + } else { + warn "File $thumbfile is too large, skipping"; } unlink($thumbfile); + } else { + warn "File $thumbfile does not exist, skipping"; } $job->update_statustext(49 + int($i / @graphs) * 50); }