-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
Q | A |
---|---|
Bug report? | yes |
Feature request? | no |
BC Break report? | no |
RFC? | no |
Symfony version | 4.0.4 |
Javascript error is report to the JS console (tested in Chrome and Edge) when the exception is handled by Symfony Profiler:
Uncaught TypeError: Cannot set property 'className' of null at Object.createTabs
May be related to #24281.
Steps to reproduce:
- Create a new flex project
composer create-project symfony/skeleton blog
cd blog
composer require server --dev
composer require profiler --dev
- Create a controller and enable its route in
config/routes.yaml
:
<?php
namespace App\Controller;
class DefaultController {
public function index()
{
throw new \Exception('Wow!');
}
}
- Run
php bin\console server:run
- Open the browser
- Info about the exception is rendered properly
- But there is an error in the browser JS console
Metadata
Metadata
Assignees
Labels
No labels