diff --git a/lib/Controller/AssistantApiController.php b/lib/Controller/AssistantApiController.php index d7b5a4b9..305d2f4e 100644 --- a/lib/Controller/AssistantApiController.php +++ b/lib/Controller/AssistantApiController.php @@ -173,6 +173,7 @@ public function uploadInputFile(?string $filename = null): DataResponse { 'filePath' => $fileInfo['filePath'], ]); } catch (\Exception $e) { + $this->logger->error('Failed to store input file for assistant task', ['exception' => $e]); return new DataResponse('Failed to store the input file: ' . $e->getMessage(), Http::STATUS_BAD_REQUEST); } }