mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Revert fix for nicer truncation on log_errors_max_len
This commit is contained in:
parent
1b5e87a579
commit
501407aa49
1 changed files with 1 additions and 1 deletions
|
@ -1037,7 +1037,7 @@ ZEND_API void zend_exception_error(zend_object *ex, int severity) /* {{{ */
|
|||
line = zval_get_long(GET_PROPERTY_SILENT(&exception, "line"));
|
||||
|
||||
zend_error_va(severity, (file && ZSTR_LEN(file) > 0) ? ZSTR_VAL(file) : NULL, line,
|
||||
"Uncaught %.*s\n thrown", PG(log_errors_max_len) ? MIN(ZSTR_LEN(str), MAX(PG(log_errors_max_len) - 18, 0)) : ZSTR_LEN(str), ZSTR_VAL(str));
|
||||
"Uncaught %s\n thrown", ZSTR_VAL(str));
|
||||
|
||||
zend_string_release(str);
|
||||
zend_string_release(file);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue