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

Expose validation error when creating extension instance #177

Closed
pedroscaff opened this issue May 2, 2024 · 0 comments · Fixed by #178
Closed

Expose validation error when creating extension instance #177

pedroscaff opened this issue May 2, 2024 · 0 comments · Fixed by #178
Assignees
Labels
bug Unwanted / harmful behavior

Comments

@pedroscaff
Copy link

When we create an extension instance and there is a validation issue coming from the extension, we currently cannot inform the user about it since EM doesn't return e.g. a bad request error for it.
Example error message returned:

failed to add instance for extension "row-level-security-lua": error executing statement 'CREATE VIRTUAL SCHEMA "v_schema_name" USING "EXA_EXTENSIONS"."RLS_ADAPTER" WITH SCHEMA_NAME = 'Schema Name' LOG_LEVEL='DEBUG'': E-EGOD-11: execution failed with SQL error code '42500' and message 'schema "v_schema_name" already exists (Session: 1797399225720176641)'
@kaklakariada kaklakariada added the bug Unwanted / harmful behavior label May 2, 2024
@kaklakariada kaklakariada self-assigned this May 3, 2024
kaklakariada added a commit that referenced this issue May 7, 2024
Co-authored-by: Thomas Ubensee <34603111+tomuben@users.noreply.github.com>
Co-authored-by: Christoph Kuhnke <github@kuhnke.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unwanted / harmful behavior
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants