mirror of
https://github.com/demostf/migrate.git
synced 2026-06-03 17:24:10 +02:00
more error handling
This commit is contained in:
parent
45e0d21d05
commit
7912ef2e3f
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ class Migrate {
|
|||
|
||||
public function migrateDemo(array $demo): bool {
|
||||
if (!$this->store->exists($demo['name'])) {
|
||||
return false;
|
||||
throw new \Exception('demo not found');
|
||||
}
|
||||
|
||||
$hash = $this->store->hash($demo['name']);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue