summaryrefslogtreecommitdiffstats
path: root/lib/puppet/storage.rb
diff options
context:
space:
mode:
authorluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-10-29 18:56:49 +0000
committerluke <luke@980ebf18-57e1-0310-9a29-db15c13687c0>2005-10-29 18:56:49 +0000
commit9e1c63a652f9b86af40c7de198f877bc09ad1c62 (patch)
tree2140ad49302371628b147f473cccd24b3d26e504 /lib/puppet/storage.rb
parent76176a9906f56dfbf5771471453dbe7757f426f7 (diff)
downloadpuppet-9e1c63a652f9b86af40c7de198f877bc09ad1c62.tar.gz
puppet-9e1c63a652f9b86af40c7de198f877bc09ad1c62.tar.xz
puppet-9e1c63a652f9b86af40c7de198f877bc09ad1c62.zip
Protecting from bug in Syslog, and fixing some more log messages
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@734 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/storage.rb')
-rw-r--r--lib/puppet/storage.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/storage.rb b/lib/puppet/storage.rb
index 24a6b6920..dfcb5fe55 100644
--- a/lib/puppet/storage.rb
+++ b/lib/puppet/storage.rb
@@ -39,7 +39,7 @@ module Puppet
begin
@@state[eval(myclass)][key] = Marshal::load(value)
rescue => detail
- raise RuntimeError,
+ raise Puppet::Error,
"Failed to load value for %s::%s => %s" % [
myclass,key,detail
], caller