Homec4science

Make libphutil scripts exit with an error code when terminated by an uncaught…

Authored by epriestley <git@epriestley.com> on Jun 27 2011, 04:55.

Description

Make libphutil scripts exit with an error code when terminated by an uncaught exception

Summary:
We install an exception handler but PHP gets all awkward when we do. See
comment. This restores sensible behavior and sanity to the world.

Test Plan:
Ran "phd debug IRC derpderp" and had the bot exit with an error instead of
exiting "successfully".

Reviewed By: codeblock
Reviewers: codeblock
CC: aran, codeblock
Differential Revision: 535

Details

Committed
epriestley <git@epriestley.com>Jun 27 2011, 05:18
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU7898beb1013f: Allow CodeBlock in Remarkup to accept some non-PHP default language
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU62b5a604ef4a: Make libphutil scripts exit with an error code when terminated by an uncaught… (authored by epriestley <git@epriestley.com>).Jun 27 2011, 05:18