Commit 2da84d4c authored by ergonlogic's avatar ergonlogic

Add more debug info when recursive file functions fail.

parent 53161443
...@@ -447,6 +447,9 @@ class Provision_FileSystem extends Provision_ChainedState { ...@@ -447,6 +447,9 @@ class Provision_FileSystem extends Provision_ChainedState {
} }
$status = call_user_func($func, $path, $arg) && $status; $status = call_user_func($func, $path, $arg) && $status;
} }
if (!$status) {
drush_log(dt('Failed calling :func on :path.', array(':func' => $func . '()', ':path' => $path)), 'debug');
}
return $status; return $status;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment