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

Is it possible to get more information from SQL errors? #255

Open
tsemerad opened this issue Mar 5, 2019 · 1 comment
Open

Is it possible to get more information from SQL errors? #255

tsemerad opened this issue Mar 5, 2019 · 1 comment

Comments

@tsemerad
Copy link

tsemerad commented Mar 5, 2019

I'm using the SQL dialect, using dataset.executeSQL(query), and I'm getting a vague error:

Error executing SQL
    at Error (native)

Is it possible to get more precise error messages? I'm not very familiar with the limitations of the underlying GDAL, but I would assume it could tell us what's wrong with the input SQL.

@PaulTomchik
Copy link

Use the verbose method.

gdal.verbose()

http://naturalatlas.github.io/node-gdal/classes/gdal.html#method-verbose

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