Add error message if pecl fails to run

This will log an error that might help the user troubleshoot why pecl
failed to run.
This commit is contained in:
Erik Johnson 2013-06-21 00:08:06 -05:00
parent 704dd5bf18
commit 27d2479327

View File

@ -24,6 +24,7 @@ def _pecl(command):
if ret['retcode'] == 0:
return ret['stdout']
else:
log.error('Problem running pecl. Is php-pear installed?')
return ''