exception fix
This commit is contained in:
parent
32f7ae9046
commit
2e208b6f88
|
@ -89,8 +89,8 @@ class MigrateController extends BaseMigrateController
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$history = $this->getHistory($limit);
|
$history = $this->getHistory($limit);
|
||||||
} catch (ServerException $ex) {
|
} catch (\Exception $ex) {
|
||||||
if ($ex->getServerCode() == 1203) {
|
if ($ex->getPrevious()->getServerCode() == 1203) {
|
||||||
$this->createMigrationHistoryCollection();
|
$this->createMigrationHistoryCollection();
|
||||||
$history = $this->getHistory($limit);
|
$history = $this->getHistory($limit);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue