From 89de74970d2a0ce53f7daec4f67ea11a988cb6cc Mon Sep 17 00:00:00 2001 From: Kentaro Ohkouchi Date: Wed, 17 Jun 2020 16:36:13 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=97=E3=83=A9=E3=82=B0=E3=82=A4=E3=83=B3,?= =?UTF-8?q?=20=E3=83=86=E3=83=B3=E3=83=97=E3=83=AC=E3=83=BC=E3=83=88?= =?UTF-8?q?=E3=82=A2=E3=83=83=E3=83=97=E3=83=AD=E3=83=BC=E3=83=89=E6=99=82?= =?UTF-8?q?=E3=81=AE=E8=A9=B3=E7=B4=B0=E3=81=AA=E3=82=A8=E3=83=A9=E3=83=BC?= =?UTF-8?q?=E3=82=92=E5=8F=96=E5=BE=97=E3=81=A7=E3=81=8D=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Eccube/Controller/Admin/Store/TemplateController.php | 2 +- src/Eccube/Service/PluginService.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Eccube/Controller/Admin/Store/TemplateController.php b/src/Eccube/Controller/Admin/Store/TemplateController.php index 9c4b94f3f0..9d56f6e50b 100644 --- a/src/Eccube/Controller/Admin/Store/TemplateController.php +++ b/src/Eccube/Controller/Admin/Store/TemplateController.php @@ -269,7 +269,7 @@ public function add(Application $app, Request $request) $phar->extractTo($tmpDir, null, true); } } catch (\Exception $e) { - $form['file']->addError(new FormError('アップロードに失敗しました。圧縮ファイルを確認してください。')); + $form['file']->addError(new FormError('アップロードに失敗しました。圧縮ファイルを確認してください。('.$e->getMessage().')')); return $app->render('Store/template_add.twig', array( 'form' => $form->createView(), diff --git a/src/Eccube/Service/PluginService.php b/src/Eccube/Service/PluginService.php index 03ccd1d281..c7fedf4219 100644 --- a/src/Eccube/Service/PluginService.php +++ b/src/Eccube/Service/PluginService.php @@ -116,7 +116,7 @@ public function unpackPluginArchive($archive, $dir) $phar->extractTo($dir, null, true); } } catch (\Exception $e) { - throw new PluginException('アップロードに失敗しました。圧縮ファイルを確認してください。'); + throw new PluginException('アップロードに失敗しました。圧縮ファイルを確認してください。('.$e->getMessage().')'); } }