Fixed exception handling in AJAXProxyAction
authorAlexander Ebert <ebert@woltlab.com>
Fri, 21 Oct 2011 11:11:28 +0000 (13:11 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 21 Oct 2011 11:11:28 +0000 (13:11 +0200)
commitdc0005eefcda31ec3638bc68576e5ff5b1f8d999
tree5f69d1ceb1c477564db67d78a418ddf69cf45a34
parent03812bbc39e37d4549ed8029b44ecabe7098f14c
Fixed exception handling in AJAXProxyAction

Whenever you throw a new exception with the original exception as parameter, you cannot access it's stacktrace. In fact the stacktrace will return the stacktrace for the new exception, ignoring the fact you're requesting the stacktrace of the passed exception. Hooray!
wcfsetup/install/files/lib/action/AJAXProxyAction.class.php
wcfsetup/install/files/lib/system/exception/AJAXException.class.php