summaryrefslogtreecommitdiffstats
path: root/lib/puppet/reports
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-04-30 18:15:01 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2007-04-30 18:15:01 +0000
commite05392e26491b71e83620f4310773a78ac3b6177 (patch)
tree14abf37b4a42c9bf9581651183dea763a9b9c658 /lib/puppet/reports
parent7fb7146aeed37af556ac5acf9e23a00c96267e4c (diff)
downloadpuppet-e05392e26491b71e83620f4310773a78ac3b6177.tar.gz
puppet-e05392e26491b71e83620f4310773a78ac3b6177.tar.xz
puppet-e05392e26491b71e83620f4310773a78ac3b6177.zip
Fixing a bug in the tests introduced a while back when I switched to using "generate_report"
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2438 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/reports')
-rw-r--r--lib/puppet/reports/rrdgraph.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/reports/rrdgraph.rb b/lib/puppet/reports/rrdgraph.rb
index 5371f8247..49ab7452b 100644
--- a/lib/puppet/reports/rrdgraph.rb
+++ b/lib/puppet/reports/rrdgraph.rb
@@ -66,7 +66,7 @@ Puppet::Network::Handler.report.newreport(:rrdgraph) do
# Make the period html files
periodorder.each do |period|
unless ary = periods[period]
- raise "Could not find graphs for %s" % period
+ raise Puppet::Error, "Could not find graphs for %s" % period
end
files << htmlfile(period, ary, :first)
end