Skip to content

Commit

Permalink
fixed a bug when the dump has failed
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Feb 14, 2016
1 parent 6b36f42 commit 18a3e1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/DbDumper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 18a3e1b

Please sign in to comment.