Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Eccube/Controller/Admin/Store/TemplateController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down
2 changes: 1 addition & 1 deletion src/Eccube/Service/PluginService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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().')');
}
}

Expand Down