mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-26 03:38:47 +02:00
Show error box if an error occurs during loading of a datatable.
This commit is contained in:
parent
271f070141
commit
3dde40b91d
2 changed files with 61 additions and 46 deletions
|
@ -84,6 +84,8 @@ class HomepageController extends AbstractController
|
|||
*/
|
||||
public function homepage(Request $request, GitVersionInfo $versionInfo): Response
|
||||
{
|
||||
throw new \RuntimeException("Test");
|
||||
|
||||
if ($this->isGranted('@tools.lastActivity')) {
|
||||
$table = $this->dataTable->createFromType(
|
||||
LogDataTable::class,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue