summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon Pugh2017-07-20 09:48:47 -0400
committerJon Pugh2017-07-20 09:48:47 -0400
commit9c3b97f9642570be49d989246888029f4a38f4ef (patch)
tree0acbda2e2ce41634e8709778078eacb0df74cdcf
parent4a4ad2ff05b2f3d3ed8df76c5b5af127b69b6031 (diff)
Output command on error for generate_dump(), The error could be empty.db-error
-rw-r--r--db/Provision/Service/db/mysql.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/Provision/Service/db/mysql.php b/db/Provision/Service/db/mysql.php
index 28eafc2..2bfa528 100644
--- a/db/Provision/Service/db/mysql.php
+++ b/db/Provision/Service/db/mysql.php
@@ -280,7 +280,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 {