diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-02 13:16:21 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-02 13:42:55 -0500 |
commit | 0cabbbf46eaa1a1ceab79e2cb33acbd22d6a479b (patch) | |
tree | 236b0b8957d8a8289af959c959b917e731fad69b | |
parent | 6137f949eb8943d52e58c91942fb65dc04f94ae1 (diff) |
RT#18834: Cacti integration [added warning messages]
-rw-r--r-- | FS/FS/part_export/cacti.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/FS/FS/part_export/cacti.pm b/FS/FS/part_export/cacti.pm index eff6c5220..b41fe9bc8 100644 --- a/FS/FS/part_export/cacti.pm +++ b/FS/FS/part_export/cacti.pm @@ -490,8 +490,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); } |