projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0cabf7d
)
RT#18834: Cacti integration [added warning messages]
author
Jonathan Prykop
<jonathan@freeside.biz>
Thu, 2 Jul 2015 18:16:21 +0000
(13:16 -0500)
committer
Jonathan Prykop
<jonathan@freeside.biz>
Thu, 2 Jul 2015 18:54:42 +0000
(13:54 -0500)
FS/FS/part_export/cacti.pm
patch
|
blob
|
history
diff --git
a/FS/FS/part_export/cacti.pm
b/FS/FS/part_export/cacti.pm
index
cbb50af
..
cfd71b2
100644
(file)
--- 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);
}