diff options
Diffstat (limited to 'app/Schema/Migration22.php')
| -rw-r--r-- | app/Schema/Migration22.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/Schema/Migration22.php b/app/Schema/Migration22.php index 5e1c57beaa..081d36dbeb 100644 --- a/app/Schema/Migration22.php +++ b/app/Schema/Migration22.php @@ -16,6 +16,7 @@ namespace Fisharebest\Webtrees\Schema; use Fisharebest\Webtrees\Database; +use Fisharebest\Webtrees\DebugBar; use Fisharebest\Webtrees\File; /** @@ -79,6 +80,8 @@ class Migration22 implements MigrationInterface { try { rename(WT_ROOT . $_cfg->media_directory, $WT_DATA_DIR . $_cfg->media_directory); } catch (\ErrorException $ex) { + DebugBar::addThrowable($ex); + // Cannot move the folder? } File::delete($WT_DATA_DIR . $_cfg->media_directory . '.htaccess'); |
