-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Going to /conversation/1234 (where conversation with id 1234 does not exist), an error 404 is expected. Got 500.
symfony-chatgpt-ux/src/Twig/Components/ChatboxComponent.php
Lines 28 to 37 in 1e51d3d
| public function mount( | |
| string $id = null, | |
| ): void { | |
| if ($id) { | |
| // @todo catch not found exception | |
| $this->conversation = $this->documentManager->find(Conversation::class, $id); | |
| } else { | |
| $this->conversation = new Conversation(); | |
| } | |
| } |
Metadata
Metadata
Assignees
Labels
No labels