Skip to content

mishandled expected error #227

@ThiagoMowszet

Description

@ThiagoMowszet

Description

When a user with restricted access tries to make a select, it breaks and this message appears:

~ dblab --config --cfg-name "occ dev" Error: mssql: The SELECT permission was denied on the column 'LocationId' of the object 'Resumes', database 'occprod', schema 'dbo'

Behaviour

Currently, if you execute an incorrect query that you entered in the text box, instead of a result set, an error is printed in the result set window. However, if something goes wrong when selecting a table from the table list, the application crashes with an error message.

Screenshots

Example of behaviour expected
image

Metadata

Metadata

Assignees

Labels

kind/bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions