mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
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:
parent
704dd5bf18
commit
27d2479327
@ -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 ''
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user