diff options
author | Anatol Belski <ab@php.net> | 2015-08-19 15:21:56 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2015-08-19 15:23:23 +0200 |
commit | 026b41ba664bd8f76d6d201d7af8e70c8b650194 (patch) | |
tree | 4116e5c2d555c9b68bc2a37d8d029ba295f7b9ac /ext/zip/php_zip.c | |
parent | ed78d59a1dc9d84cf6ce77fbad94ab7e2f860cb5 (diff) | |
download | php-git-026b41ba664bd8f76d6d201d7af8e70c8b650194.tar.gz |
improve error message
Diffstat (limited to 'ext/zip/php_zip.c')
-rw-r--r-- | ext/zip/php_zip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zip/php_zip.c b/ext/zip/php_zip.c index 672097dec5..dd2414dce2 100644 --- a/ext/zip/php_zip.c +++ b/ext/zip/php_zip.c @@ -996,7 +996,7 @@ static void php_zip_object_free_storage(zend_object *object) /* {{{ */ } if (intern->za) { if (zip_close(intern->za) != 0) { - php_error_docref(NULL, E_WARNING, "Cannot destroy the zip context"); + php_error_docref(NULL, E_WARNING, "Cannot destroy the zip context: %s", zip_strerror(intern->za)); return; } intern->za = NULL; |