diff options
author | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-02 13:36:27 -0500 |
---|---|---|
committer | Jonathan Prykop <jonathan@freeside.biz> | 2015-07-02 13:54:55 -0500 |
commit | f70682e6e2a8158101e8f77bb1b364d017aaa1a3 (patch) | |
tree | 0e2373920c16c344605403d2dc0f4a150f60c95b | |
parent | 54f53f28eb9dbd42705fabc76a17cfdb44b57b85 (diff) |
RT#18834: Cacti integration [warnings display to screen]
-rw-r--r-- | FS/FS/part_export/cacti.pm | 4 |
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); } |