Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Commit

Permalink
Merge pull request #43 from meanbee/41-output-original-exception-message
Browse files Browse the repository at this point in the history
Prepend custom exception message on to original exception.
  • Loading branch information
bobbyshaw authored Feb 7, 2017
2 parents 92e1e7c + be6ef57 commit 86c1691
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Meanbee/Magedbm/Command/PutCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ private function createBackup(InputInterface $input, OutputInterface $output)
fclose($fhData);

} catch (\Exception $e) {
throw new \Exception("Unable to export database.");
throw new \Exception("Unable to export database.\n" . $e->getMessage());
}
}
}

0 comments on commit 86c1691

Please sign in to comment.