Browse Source

jfinal 3.5

James 7 years ago
parent
commit
59b7017051
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/main/java/com/jfinal/core/ActionHandler.java

+ 2 - 0
src/main/java/com/jfinal/core/ActionHandler.java

@@ -137,6 +137,8 @@ public class ActionHandler extends Handler {
 		String msg = null;
 		if (errorCode == 404) {
 			msg = "404 Not Found: ";
+		} else if (errorCode == 400) {
+			msg = "40 Bad request: ";
 		} else if (errorCode == 401) {
 			msg = "401 Unauthorized: ";
 		} else if (errorCode == 403) {