We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64c9aa1 commit 8eda9fcCopy full SHA for 8eda9fc
1 file changed
bin/phalcon-migrations
@@ -13,7 +13,6 @@
13
declare(strict_types=1);
14
15
use Phalcon\Cop\Parser;
16
-use Phalcon\Db\Exception as DbException;
17
use Phalcon\Migrations\Console\Color;
18
use Phalcon\Migrations\Console\Commands\CommandsException;
19
use Phalcon\Migrations\Console\Commands\Migration;
@@ -41,7 +40,7 @@ try {
41
40
} catch (RuntimeException $runtimeException) {
42
echo Color::error($runtimeException->getMessage(), 'Runtime Error: ');
43
exit(1);
44
- } catch (DbException $dbException) {
+ } catch (\PDOException $dbException) {
45
echo Color::error($dbException->getMessage(), 'DB Error: ');
46
47
}
0 commit comments