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:43:19 -0500
commit715320db25c6382661abfddf20e785e2d535a226 (patch)
treebb1c2ff6f1060e41cf291451358c47a7fe87716d
parent0cabbbf46eaa1a1ceab79e2cb33acbd22d6a479b (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);
}