Skip to content

Commit 8eda9fc

Browse files
committed
removing old reference
1 parent 64c9aa1 commit 8eda9fc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

bin/phalcon-migrations

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
declare(strict_types=1);
1414

1515
use Phalcon\Cop\Parser;
16-
use Phalcon\Db\Exception as DbException;
1716
use Phalcon\Migrations\Console\Color;
1817
use Phalcon\Migrations\Console\Commands\CommandsException;
1918
use Phalcon\Migrations\Console\Commands\Migration;
@@ -41,7 +40,7 @@ try {
4140
} catch (RuntimeException $runtimeException) {
4241
echo Color::error($runtimeException->getMessage(), 'Runtime Error: ');
4342
exit(1);
44-
} catch (DbException $dbException) {
43+
} catch (\PDOException $dbException) {
4544
echo Color::error($dbException->getMessage(), 'DB Error: ');
4645
exit(1);
4746
}

0 commit comments

Comments
 (0)