Permalink
Browse files

Make more useful errors

  • Loading branch information...
1 parent 12f541d commit 142ec8c660b13ff0f72e45491cd66d9aa4338102 @CloCkWeRX CloCkWeRX committed Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 package.php
View
@@ -1,7 +1,7 @@
<?php
require_once 'PEAR/PackageFileManager2.php';
$dir = dirname(__FILE__);
-PEAR::setErrorHandling(PEAR_ERROR_DIE);
+PEAR::setErrorHandling(PEAR_ERROR_EXCEPTION);
$a = PEAR_PackageFileManager2::importOptions(
$dir . '/package.xml',
array(

0 comments on commit 142ec8c

Please sign in to comment.