blob: a21f9a2d328774671adfcafc2db757750a2ca4e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -up ./src/php/ext/grpc/call.c.php85 ./src/php/ext/grpc/call.c
--- ./src/php/ext/grpc/call.c.php85 2025-07-17 10:28:12.598376396 +0200
+++ ./src/php/ext/grpc/call.c 2025-07-17 10:28:45.097057429 +0200
@@ -84,7 +84,7 @@ zval *grpc_parse_metadata_array(grpc_met
if (php_grpc_zend_hash_find(array_hash, str_key, key_len, (void **)&data)
== SUCCESS) {
if (Z_TYPE_P(data) != IS_ARRAY) {
- zend_throw_exception(zend_exception_get_default(TSRMLS_C),
+ zend_throw_exception(zend_ce_exception,
"Metadata hash somehow contains wrong types.",
1 TSRMLS_CC);
efree(str_key);
|