Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mssql error handling #732

Open
mtuchi opened this issue Aug 23, 2024 · 0 comments
Open

mssql error handling #732

mtuchi opened this issue Aug 23, 2024 · 0 comments

Comments

@mtuchi
Copy link
Collaborator

mtuchi commented Aug 23, 2024

Description

Different Error logs btn CLI and worker
When running the same job on lightning with the following version 👇

VER Versions:
    ▸ node.js                      18.20.4
    ▸ worker                       1.5.0
    ▸ @openfn/language-mssql       5.0.1

I am getting an error saying

ADA Uncaught exception in worker thread (workflow c0b0fe05-cb43-4d4a-8b51-8fd60afa48d0 )
ADA {
  "message": "AggregateError",
  "name": "AggregateError"
}

Screenshot 2024-08-21 at 9 07 38 AM

But when running it locally with CLI

 ♦ Versions:
    ▸ node.js     18.12.1
    ▸ cli         1.8.1

I get more error logs that make it easy to troubleshoot

Screenshot 2024-08-21 at 9 12 30 AM

Request In few words
Update mssql adaptor to pre-format error message then throw them

@github-project-automation github-project-automation bot moved this to New Issues in v2 Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: New Issues
Development

No branches or pull requests

1 participant