Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/305'
Browse files Browse the repository at this point in the history
Close #305
  • Loading branch information
weierophinney committed Jul 23, 2015
2 parents 4464f52 + 469e91f commit f974110
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Model/DbAutodiscoveryModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ public function fetchColumns($module, $version, $adapter_name)

$adapter = new Adapter($config[$adapter_name]);

$metadata = new Metadata($adapter);
try {
$metadata = new Metadata($adapter);
} catch (\Exception $e) {
return [];
}

$tableNames = $metadata->getTableNames();

Expand Down

0 comments on commit f974110

Please sign in to comment.