Skip to content

Commit d673e15

Browse files
committed
deploy 1.5.16
1 parent 53678b4 commit d673e15

File tree

6 files changed

+7
-8
lines changed

6 files changed

+7
-8
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<groupId>com.codingapi.springboot</groupId>
1414
<artifactId>springboot-parent</artifactId>
15-
<version>1.5.15</version>
15+
<version>1.5.16</version>
1616

1717
<url>https://github.com/codingapi/springboot-framewrok</url>
1818
<name>springboot-parent</name>

springboot-starter-data-fast/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>springboot-parent</artifactId>
77
<groupId>com.codingapi.springboot</groupId>
8-
<version>1.5.15</version>
8+
<version>1.5.16</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

springboot-starter-id-generator/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<artifactId>springboot-parent</artifactId>
77
<groupId>com.codingapi.springboot</groupId>
8-
<version>1.5.15</version>
8+
<version>1.5.16</version>
99
</parent>
1010
<modelVersion>4.0.0</modelVersion>
1111

springboot-starter-security-jwt/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<artifactId>springboot-parent</artifactId>
88
<groupId>com.codingapi.springboot</groupId>
9-
<version>1.5.15</version>
9+
<version>1.5.16</version>
1010
</parent>
1111

1212
<artifactId>springboot-starter-security-jwt</artifactId>

springboot-starter/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>com.codingapi.springboot</groupId>
77
<artifactId>springboot-parent</artifactId>
8-
<version>1.5.15</version>
8+
<version>1.5.16</version>
99
</parent>
1010
<artifactId>springboot-starter</artifactId>
1111

springboot-starter/src/main/java/com/codingapi/springboot/framework/servlet/ServletExceptionHandler.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,17 @@ public class ServletExceptionHandler implements HandlerExceptionResolver {
1616

1717
@Override
1818
public ModelAndView resolveException(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) {
19-
log.warn("controller exception:{}", ex.getLocalizedMessage(), ex);
20-
2119
MappingJackson2JsonView view = new MappingJackson2JsonView();
2220
ModelAndView mv = new ModelAndView(view);
23-
2421
mv.addObject("success", false);
2522
if (ex instanceof LocaleMessageException) {
2623
LocaleMessageException localMessageException = (LocaleMessageException) ex;
2724
mv.addObject("errCode", localMessageException.getErrCode());
2825
mv.addObject("errMessage", localMessageException.getMessage());
26+
log.warn("controller errCode:{} exception:{}",localMessageException.getErrCode(), ex.getLocalizedMessage());
2927
return mv;
3028
}
29+
log.warn("controller exception:{}", ex.getLocalizedMessage(), ex);
3130
mv.addObject("errCode", DEFAULT_ERROR_CODE);
3231
mv.addObject("errMessage", ex.getMessage());
3332

0 commit comments

Comments
 (0)