Fix Ashby resume upload and add validation error logging
Ashby wraps file input inside #_systemfield_resume container — search for the actual input[type="file"] element. Also capture and log validation errors from the page when submit returns incomplete. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -399,6 +399,9 @@ async function handleResult(job, result, results, settings, profile, apiKey) {
|
||||
|
||||
case 'stuck':
|
||||
case 'incomplete': {
|
||||
if (result.validation_errors?.length) {
|
||||
console.log(` ⚠️ Validation errors: ${result.validation_errors.join(' | ')}`);
|
||||
}
|
||||
const retries = (job.retry_count || 0) + 1;
|
||||
const maxRetry = settings.max_retries ?? DEFAULT_MAX_RETRIES;
|
||||
if (retries <= maxRetry) {
|
||||
|
||||
Reference in New Issue
Block a user