fix: add error logging to applier, session polling, and job card clicks
- job_applier.mjs: stack traces on per-job and browser-level errors - session.mjs: log pending status and poll count during session refresh - linkedin.mjs: log warning when job card click fails instead of silent catch Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -75,7 +75,9 @@ export async function searchLinkedIn(page, search, { onPage } = {}) {
|
||||
link?.closest('li')?.click() || link?.click();
|
||||
}, jobId);
|
||||
await page.waitForTimeout(CLICK_WAIT);
|
||||
} catch {}
|
||||
} catch (e) {
|
||||
console.warn(` ⚠️ Could not click job card ${jobId}: ${e.message}`);
|
||||
}
|
||||
|
||||
// Read title, company, location from detail panel (more accurate)
|
||||
const meta = await page.evaluate(({ id, track, excludes }) => {
|
||||
|
||||
Reference in New Issue
Block a user