From d24c03c9bbcc35a94a8235c030a73233feabad57 Mon Sep 17 00:00:00 2001 From: Rick Bradley Date: Mon, 31 Mar 2008 12:08:36 -0500 Subject: exceptions on remote end now properly passed to local end via REST and re-raised (integration-tested) --- lib/puppet/network/http/handler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/puppet') 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) -- cgit