Showing
1 changed file
with
1 additions
and
1 deletions
@@ -96,7 +96,7 @@ public class ControllerExceptionHandler { | @@ -96,7 +96,7 @@ public class ControllerExceptionHandler { | ||
96 | public void handleEntityCreationException(HttpServletResponse response) { | 96 | public void handleEntityCreationException(HttpServletResponse response) { |
97 | errorResponseHandler.handle( | 97 | errorResponseHandler.handle( |
98 | new YunTengException( | 98 | new YunTengException( |
99 | - ErrorMessage.SEND_DESTINATION_NOT_FOUND, HttpStatus.PRECONDITION_FAILED), | 99 | + ErrorMessage.SEND_DESTINATION_NOT_FOUND, HttpStatus.BAD_REQUEST), |
100 | response); | 100 | response); |
101 | } | 101 | } |
102 | 102 |