diff options
author | Rick Bradley <rick@rickbradley.com> | 2008-03-31 12:08:36 -0500 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2008-04-11 13:10:36 -0500 |
commit | d24c03c9bbcc35a94a8235c030a73233feabad57 (patch) | |
tree | 281a45c8ad4500da0da1c9eee5470ebefaf035f2 /lib/puppet | |
parent | 7a7343458402e493f690633f3cfa78abef316d28 (diff) | |
download | puppet-d24c03c9bbcc35a94a8235c030a73233feabad57.tar.gz puppet-d24c03c9bbcc35a94a8235c030a73233feabad57.tar.xz puppet-d24c03c9bbcc35a94a8235c030a73233feabad57.zip |
exceptions on remote end now properly passed to local end via REST and re-raised (integration-tested)
Diffstat (limited to 'lib/puppet')
-rw-r--r-- | lib/puppet/network/http/handler.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/network/http/handler.rb b/lib/puppet/network/http/handler.rb index b5dcf69d4..f226ae133 100644 --- a/lib/puppet/network/http/handler.rb +++ b/lib/puppet/network/http/handler.rb @@ -53,7 +53,7 @@ module Puppet::Network::HTTP::Handler end def do_exception(request, response, exception, status=404) - encode_result(request, response, exception.to_s, status) + encode_result(request, response, exception.to_yaml, status) end def find_model_for_handler(handler) |