Don't log an error when xdebug stops the request
commitb40f94bd8154bc0aa097b81dd04da6d6e50ebd2a
authorAlex Malyshev <alexanderm@fb.com>
Tue, 3 May 2016 18:15:51 +0000 (3 11:15 -0700)
committerHhvm Bot <hhvm-bot-bot@fb.com>
Tue, 3 May 2016 18:30:48 +0000 (3 11:30 -0700)
treee4075eda51e93959b5649c0c7a5a6ba4006f1f1a
parente31584f9ff6899481c4d097ebfbaa6af15555926
Don't log an error when xdebug stops the request

Summary:
Matching hphpd's behavior here.  Previously xdebug would throw an ExitException,
which is meant to exit the request when there is an error, and it would cause us
to log "Unhandled server exception".  We just want to exit the request as if
nothing went wrong.

Reviewed By: ricklavoie

Differential Revision: D3192728

fb-gh-sync-id: b471933a60c2e98e5c4f848d31df18d208ec55dc
fbshipit-source-id: b471933a60c2e98e5c4f848d31df18d208ec55dc
hphp/runtime/base/program-functions.cpp
hphp/runtime/ext/xdebug/status.cpp
hphp/runtime/ext/xdebug/status.h
hphp/runtime/ext/xdebug/xdebug_command.cpp
hphp/runtime/server/http-request-handler.cpp