summaryrefslogtreecommitdiffstats
path: root/lib/puppet/configurer/plugin_handler.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/configurer/plugin_handler.rb')
-rw-r--r--lib/puppet/configurer/plugin_handler.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/puppet/configurer/plugin_handler.rb b/lib/puppet/configurer/plugin_handler.rb
index e934f5877..856942176 100644
--- a/lib/puppet/configurer/plugin_handler.rb
+++ b/lib/puppet/configurer/plugin_handler.rb
@@ -19,6 +19,8 @@ module Puppet::Configurer::PluginHandler
begin
Puppet.info "Loading downloaded plugin %s" % file
load file
+ rescue SystemExit,NoMemoryError,SignalException,Interrupt
+ raise
rescue Exception => detail
Puppet.err "Could not load downloaded file %s: %s" % [file, detail]
end