summaryrefslogtreecommitdiff
path: root/FS
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:54:55 -0500
commitf70682e6e2a8158101e8f77bb1b364d017aaa1a3 (patch)
tree0e2373920c16c344605403d2dc0f4a150f60c95b /FS
parent54f53f28eb9dbd42705fabc76a17cfdb44b57b85 (diff)
RT#18834: Cacti integration [warnings display to screen]
Diffstat (limited to 'FS')
-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 cfd71b241..c1117fc97 100644
--- a/FS/FS/part_export/cacti.pm
+++ b/FS/FS/part_export/cacti.pm
@@ -494,11 +494,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);
}