ebf437281c
The main impetuous was "\" is the namespace character, so I want namespace errors to not have double backslashes everywhere. After finding that, it turned out we were escaping all exceptions in the command line, which is wrong. We only want the escaping when we are in server mode (emulating apache) I basically pushed what we were doing in ##error_log## down to ##Logger::Log##.
9 linhas
377 B
Plaintext
9 linhas
377 B
Plaintext
HipHop Fatal error: Uncaught exception 'Exception' with message 'throwing first' in %s/test/quick/exception_handler.php:9
|
|
Stack trace:
|
|
#0 %s/test/quick/exception_handler.php(11): main()
|
|
#1 {main}
|
|
Exception handler threw an object exception: exception 'Exception' with message 'throwing second' in %s/test/quick/exception_handler.php:4
|
|
Stack trace:
|
|
#0 (): exn_throw()
|
|
#1 {main}
|