From 77228375171612ccf2ba984c6f7e3c9038810258 Mon Sep 17 00:00:00 2001 From: Marcus Boerger Date: Thu, 15 Jul 2004 22:22:06 +0000 Subject: [PATCH] - Use ErrorException instead of Exception --- main/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/main.c b/main/main.c index 9b0a3c9701..84949ccd49 100644 --- a/main/main.c +++ b/main/main.c @@ -667,7 +667,7 @@ static void php_error_cb(int type, const char *error_filename, const uint error_ * but DO NOT overwrite a pending excepption */ if (PG(error_handling) == EH_THROW && !EG(exception)) { - zend_throw_exception(PG(exception_class), buffer, 0 TSRMLS_CC); + zend_throw_error_exception(PG(exception_class), buffer, 0, type TSRMLS_CC); } efree(buffer); return; -- 2.40.0