This is an automated email from the ASF dual-hosted git repository. nicholasjiang pushed a commit to branch branch-0.1 in repository https://gitbox.apache.org/repos/asf/paimon-webui.git
commit ed42b198a80008901fb594b94d3a5e73bd83f369 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)
