diff options
Diffstat (limited to 'app/Schema/Migration31.php')
| -rw-r--r-- | app/Schema/Migration31.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Schema/Migration31.php b/app/Schema/Migration31.php index 4512d1d883..45c5832ca4 100644 --- a/app/Schema/Migration31.php +++ b/app/Schema/Migration31.php @@ -16,6 +16,7 @@ namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; +use Fisharebest\Webtrees\DebugBar; use Fisharebest\Webtrees\Site; use PDOException; @@ -49,6 +50,8 @@ class Migration31 implements MigrationInterface { 'new' => $new, ]); } catch (PDOException $ex) { + DebugBar::addThrowable($ex); + // Duplicate key? Already done? } |
