From 632dd8ec5c4f4eaccb71607407b934ddf8935104 Mon Sep 17 00:00:00 2001 From: Jonathan Prykop Date: Thu, 2 Jul 2015 13:36:27 -0500 Subject: [PATCH] RT#18834: Cacti integration [warnings display to screen] --- FS/FS/part_export/cacti.pm | 4 ++-- 1 file 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(

File $thumbfile is too large, skipping

); } unlink($thumbfile); } else { - warn "File $thumbfile does not exist, skipping"; + $svchtml .= qq(

File $thumbfile does not exist, skipping

); } $job->update_statustext(49 + int($i / @graphs) * 50); } -- 2.11.0