This is an automated email from the ASF dual-hosted git repository.
nicholasjiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-webui.git
The following commit(s) were added to refs/heads/main by this push:
new da7e5c98 [Bugfix] Fix prompt language when deleting users (#500)
da7e5c98 is described below
commit da7e5c9897f5e3bbad681daebe2b643b0876301e
Author: XianmingZhou00 <[email protected]>
AuthorDate: Thu Jul 11 11:31:49 2024 +0800
[Bugfix] Fix prompt language when deleting users (#500)
---
.../org/apache/paimon/web/server/configrue/GlobalExceptionHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/paimon-web-server/src/main/java/org/apache/paimon/web/server/configrue/GlobalExceptionHandler.java
b/paimon-web-server/src/main/java/org/apache/paimon/web/server/configrue/GlobalExceptionHandler.java
index 66304928..9bd9cfe8 100644
---
a/paimon-web-server/src/main/java/org/apache/paimon/web/server/configrue/GlobalExceptionHandler.java
+++
b/paimon-web-server/src/main/java/org/apache/paimon/web/server/configrue/GlobalExceptionHandler.java
@@ -58,7 +58,7 @@ public class GlobalExceptionHandler {
if (e.getStatus() == null) {
return R.failed(Status.INTERNAL_SERVER_ERROR_ARGS);
}
- return R.failed(e.getStatus());
+ return R.failed(e.getStatus(), e.getArgs());
}
@ResponseStatus(HttpStatus.UNAUTHORIZED)