From: Steph Fox Date: Thu, 21 Feb 2008 18:51:54 +0000 (+0000) Subject: As the line below says - there shouldn't be an exception here. X-Git-Tag: RELEASE_2_0_0a1~391 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b2dbfbc321c70b17a5b8d0f007c18167d9a6047d;p=php As the line below says - there shouldn't be an exception here. --- diff --git a/ext/phar/phar_object.c b/ext/phar/phar_object.c index aee70b48b2..7085d9f030 100755 --- a/ext/phar/phar_object.c +++ b/ext/phar/phar_object.c @@ -1691,8 +1691,6 @@ finalize: if (FAILURE == zend_hash_get_current_data(&(phar.manifest), (void **) &entry)) { zend_hash_destroy(&(phar.manifest)); php_stream_close(phar.fp); - zend_throw_exception_ex(spl_ce_UnexpectedValueException, 0 TSRMLS_CC, - "Cannot convert phar archive \"%s\"", source->fname); /* we can't throw an exception or bad crap will happen */ zend_error(E_ERROR, "Error: could not convert phar archive \"%s\", phar is in unstable state, shutting down", source->fname); return;