Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dinky
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangpeng
dinky
Commits
2172a194
Unverified
Commit
2172a194
authored
Jun 06, 2023
by
gaoyan
Committed by
GitHub
Jun 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix BusException logic error (#2027)
if BusException.msg is empty, use I18n message
parent
7f8302c2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
WebExceptionHandler.java
...dmin/src/main/java/org/dinky/aop/WebExceptionHandler.java
+1
-1
No files found.
dinky-admin/src/main/java/org/dinky/aop/WebExceptionHandler.java
View file @
2172a194
...
...
@@ -61,7 +61,7 @@ public class WebExceptionHandler {
@ExceptionHandler
public
Result
<
Void
>
busException
(
BusException
e
)
{
if
(
StrUtil
.
is
Not
Empty
(
e
.
getMsg
()))
{
if
(
StrUtil
.
isEmpty
(
e
.
getMsg
()))
{
return
Result
.
failed
(
I18nMsgUtils
.
getMsg
(
e
.
getCode
(),
e
.
getErrorArgs
()));
}
return
Result
.
failed
(
e
.
getMsg
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment