You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The API message only shows java class name on the message field, more info shows in stack field and the main information is on the first line.
The web UI only show text from the message field.
How should we improve?
I think we should show more complete content.
option 1: showing message plus the first line ofstack in the web UI.
option 2: join more complete content on the message field in the backend.
The text was updated successfully, but these errors were encountered:
### What changes were proposed in this pull request?
This PR optimize the error message to make it more meaningful to the UI.
Previously it outputs the exception class name, which is not meaningful
to users. Now change to the actual error message like below:
```
Failed to operate table(s) [ADMINISTRABLE_ROLE_AUTHORIZATIONS] operation [LOAD] under schema [information_schema], reason [Failed to parse create table information_schema.ADMINISTRABLE_ROLE_AUTHORIZATIONS SQL]
```
The reason field is only the error message now.
### Why are the changes needed?
To make the error message on UI more meaningful.
Fix: #1551
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Local verify.
mchades
pushed a commit
to mchades/gravitino
that referenced
this issue
Jan 24, 2024
### What changes were proposed in this pull request?
This PR optimize the error message to make it more meaningful to the UI.
Previously it outputs the exception class name, which is not meaningful
to users. Now change to the actual error message like below:
```
Failed to operate table(s) [ADMINISTRABLE_ROLE_AUTHORIZATIONS] operation [LOAD] under schema [information_schema], reason [Failed to parse create table information_schema.ADMINISTRABLE_ROLE_AUTHORIZATIONS SQL]
```
The reason field is only the error message now.
### Why are the changes needed?
To make the error message on UI more meaningful.
Fix: apache#1551
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Local verify.
What would you like to be improved?
The API message only shows java class name on the
message
field, more info shows instack
field and the main information is on the first line.The web UI only show text from the
message
field.How should we improve?
I think we should show more complete content.
option 1: showing message plus the first line of
stack
in the web UI.option 2: join more complete content on the
message
field in the backend.The text was updated successfully, but these errors were encountered: