projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RT#18834: Cacti integration [warnings display to screen]
[freeside.git]
/
FS
/
FS
/
part_export
/
cacti.pm
diff --git
a/FS/FS/part_export/cacti.pm
b/FS/FS/part_export/cacti.pm
index
b41fe9b
..
c83e453
100644
(file)
--- a/
FS/FS/part_export/cacti.pm
+++ b/
FS/FS/part_export/cacti.pm
@@
-491,11
+491,11
@@
sub process_graphs {
die $error;
}
} else {
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 {
}
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);
}
}
$job->update_statustext(49 + int($i / @graphs) * 50);
}