diff options
author | Brice Figureau <brice-puppet@daysofwonder.com> | 2010-08-04 22:34:33 +0200 |
---|---|---|
committer | Markus Roberts <Markus@reality.com> | 2010-08-04 17:49:15 -0700 |
commit | 3a6ca54a6e8ad353f207bc85433d1204b5ca48bc (patch) | |
tree | ea06161f75ee884d9489359ace3fb69fd958fabd /COPYING | |
parent | d909827942fa571bea202818c92d081e7957a574 (diff) | |
download | puppet-3a6ca54a6e8ad353f207bc85433d1204b5ca48bc.tar.gz puppet-3a6ca54a6e8ad353f207bc85433d1204b5ca48bc.tar.xz puppet-3a6ca54a6e8ad353f207bc85433d1204b5ca48bc.zip |
Fix #4458 - Do not dump the whole environment when instances can't be found
When generating the error message when we can't find any instances for a
search request, we were "inspect"ing the request which now contains
an environment instance which itself contains a lots of things (including
all the known resource types).
Thus it was generating a very large "reason" (ie the HTTP error string).
On some environments (ie proxied mongrel) this was too large and the
proxy would produce an error 500.
I just changed the error message to just log the indirection name and
request key (which should be enough to understand what is wrong).
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions