@copart/tx-title-submission
Advanced tools
Comparing version 1.0.14 to 1.0.15
{ | ||
"name": "@copart/tx-title-submission", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "Automates texas title submission via headless browser", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -198,3 +198,3 @@ import { | ||
await browser.close(); | ||
return { status: 'success', message: `${data.lotId}: Successfully Submitted`, code: stage }; | ||
return { status: 'success', message: 'Successfully Submitted', lotId: data.lotId, stage: stage} | ||
} catch (error) { | ||
@@ -205,4 +205,4 @@ await page.screenshot({ | ||
await browser.close(); | ||
throw { status: 'error', message: `${data.lotId}: ${error}`, code: stage }; | ||
throw { status: 'error', message: error, lotId: data.lotId, stage: stage} | ||
} | ||
}; |
31576
8
950