Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 3 additions & 8 deletions apps/api/src/services/resume.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,14 +152,9 @@
);

return updatedResume || resume;
} catch (error) {
// Safe error logging to avoid log injection
console.error(
"Error processing resume:",
error instanceof Error
? this.sanitizeForLog(error.message)
: "Unknown error",
);
} catch (_error) {

Check failure on line 155 in apps/api/src/services/resume.service.ts

View workflow job for this annotation

GitHub Actions / CI Pipeline

'_error' is defined but never used
// Avoid logging user-influenced error content to prevent log injection
console.error("Error processing resume");
// The user can retry analysis later
return resume;
}
Expand Down
Loading