summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Prykop <jonathan@freeside.biz>2015-07-02 13:36:27 -0500
committerJonathan Prykop <jonathan@freeside.biz>2015-07-02 13:36:27 -0500
commit632dd8ec5c4f4eaccb71607407b934ddf8935104 (patch)
tree6c65b435ff523a571404a9e9272e24165c501a9f
parent379c06ccd4b984bfa8130d98f862799239a8d00c (diff)
RT#18834: Cacti integration [warnings display to screen]
-rw-r--r--FS/FS/part_export/cacti.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/part_export/cacti.pm b/FS/FS/part_export/cacti.pm
index b41fe9bc8..c83e453cd 100644
--- a/FS/FS/part_export/cacti.pm
+++ b/FS/FS/part_export/cacti.pm
@@ -491,11 +491,11 @@ sub process_graphs {
die $error;
}
} else {
- warn "File $thumbfile is too large, skipping";
+ $svchtml .= qq(<P STYLE="color: #FF0000">File $thumbfile is too large, skipping</P>);
}
unlink($thumbfile);
} else {
- warn "File $thumbfile does not exist, skipping";
+ $svchtml .= qq(<P STYLE="color: #FF0000">File $thumbfile does not exist, skipping</P>);
}
$job->update_statustext(49 + int($i / @graphs) * 50);
}