projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RT#18834: Cacti integration [added warning messages]
[freeside.git]
/
FS
/
FS
/
part_export
/
cacti.pm
diff --git
a/FS/FS/part_export/cacti.pm
b/FS/FS/part_export/cacti.pm
index
eff6c52
..
b41fe9b
100644
(file)
--- 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);
}