Commit e7a6a1eb authored by Jon Pugh's avatar Jon Pugh

Output command on error for generate_dump(), The error could be empty.

parent 938b2a18
......@@ -291,7 +291,7 @@ port=%s
// Close stderr as well.
fclose($pipes[2]);
if (proc_close($process) != 0) {
drush_set_error('PROVISION_BACKUP_FAILED', dt('Could not write database backup file mysqldump (error: %msg)', array('%msg' => $err)));
drush_set_error('PROVISION_BACKUP_FAILED', dt('Could not write database backup file mysqldump (command: %command) (error: %msg)', array('%msg' => $err, '%command' => $cmd)));
}
}
else {
......
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