X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/7b84558ca1deb0a605a2f632e60baaad325615e7..refs/pull/5663/head:/app/Exceptions/ZipImportException.php diff --git a/app/Exceptions/ZipImportException.php b/app/Exceptions/ZipImportException.php index 2403c5144..452365c6e 100644 --- a/app/Exceptions/ZipImportException.php +++ b/app/Exceptions/ZipImportException.php @@ -7,6 +7,7 @@ class ZipImportException extends \Exception public function __construct( public array $errors ) { - parent::__construct(); + $message = "Import failed with errors:" . implode("\n", $this->errors); + parent::__construct($message); } }