diff --git a/CHANGELOG.md b/CHANGELOG.md index 55a2526..e422dc2 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All Notable changes to `db-dumper` will be documented in this file +## 1.0.4 - 2016-02-14 + +- Fixed a bug when the backup has failed. + ## 1.0.3 - 2016-02-01 - Added missing abstract `getDbName`-method diff --git a/src/DbDumper.php b/src/DbDumper.php index 754332a..2adc95e 100644 --- a/src/DbDumper.php +++ b/src/DbDumper.php @@ -22,7 +22,7 @@ abstract public function getDbName() : string; protected function checkIfDumpWasSuccessFul(Process $process, string $outputFile) : bool { if (!$process->isSuccessful()) { - throw DumpFailed::processDidNotEndSuccessfully($this->process); + throw DumpFailed::processDidNotEndSuccessfully($process); } if (!file_exists($outputFile)) {