Skip to content

Commit 600f08e

Browse files
committed
Fix error pb with getWrapper
1 parent b1a07db commit 600f08e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Ubiquity/orm/reverse/DatabaseReversor.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?php
22
namespace Ubiquity\orm\reverse;
33

4-
use Cassandra\Exception\ConfigurationException;
54
use Ubiquity\db\reverse\DbGenerator;
65
use Ubiquity\controllers\Startup;
76
use Ubiquity\cache\CacheManager;
@@ -47,7 +46,7 @@ protected function getWrapperInstance(&$config,$databaseOffset='default'){
4746
}
4847
throw new DBException("Wrapper class $wrapperClass does not exist!");
4948
}
50-
throw new ConfigurationException("Wrapper class is not set for database at offset $databaseOffset!");
49+
throw new DBException("Wrapper class is not set for database at offset $databaseOffset!");
5150
}
5251

5352
public function createDatabase(string $name, bool $createDb = true): void {

0 commit comments

Comments
 (0)