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

Handling "Error: Unknown Error" during build #2873

Closed
dawilco opened this issue Dec 2, 2024 · 3 comments
Closed

Handling "Error: Unknown Error" during build #2873

dawilco opened this issue Dec 2, 2024 · 3 comments

Comments

@dawilco
Copy link

dawilco commented Dec 2, 2024

Hello. I am a developer managing a deployment for my company. During the npm run sources step I get "Error: Unknown Error". I've turned on debug with the debug flag. The database connection is good. Its like it doesn't try to do anything, but I can't get any indication of where to even begin looking for what is broken

@mcrascal
Copy link
Member

mcrascal commented Dec 2, 2024

Can you try executing the query on your database platform? This unknown error can throw on just regular sql syntax errors and similar.

@ItsMeBrianD is planning on taking a spin through our error handling over the next week or two and should be able to improve this.

@dawilco
Copy link
Author

dawilco commented Dec 2, 2024

@mcrascal Thanks! I didn't think of that, that's just the sort of idea i needed to find a road to get down 🤙

@dawilco dawilco closed this as completed Dec 2, 2024
@mcrascal
Copy link
Member

mcrascal commented Dec 2, 2024

Glad that helped, better error messages are coming!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants