summaryrefslogtreecommitdiffstats
path: root/lib/puppet/reports
diff options
context:
space:
mode:
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