Final backend fixes and path stabilization
This commit is contained in:
@@ -82,7 +82,7 @@ export class GeminiExtractorService {
|
||||
const cleanedJson = responseText.replace(/```json|```/g, '').trim();
|
||||
|
||||
return JSON.parse(cleanedJson);
|
||||
} catch (error) {
|
||||
} catch (error: any) {
|
||||
this.logger.error(`AI Extraction failed: ${error.message}`);
|
||||
throw new InternalServerErrorException('AI Extraction failed');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user