Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega committed Sep 19, 2024
1 parent d0c6451 commit 296baba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,11 +234,11 @@ public List<Event> getEvents(javax.servlet.http.HttpServletRequest request) thro
+ NGSIConstants.SERVICE_PATH_HEADER_MAX_LEN + ") for " + headerValue);
throw new HTTPBadRequestException(
"'fiware-servicePath' header length greater than "
+ NGSIConstants.SERVICE_PATH_HEADER_MAX_LEN + ") for " + headerValue));
+ NGSIConstants.SERVICE_PATH_HEADER_MAX_LEN + ") for " + headerValue);
} else if (wrongServicePathHeaderInitialCharacter(splitValue)) {
LOGGER.warn("[NGSIRestHandler] Bad HTTP notification ('"
+ CommonConstants.HEADER_FIWARE_SERVICE_PATH
+ "' header value " + headerValue + " must start with '/'");
+ "' header value " + headerValue + " must start with '/'");task/add_header_value_logs_about_bad_header
throw new HTTPBadRequestException(
"'" + CommonConstants.HEADER_FIWARE_SERVICE_PATH
+ "' header value " + headerValue + " must start with '/'");
Expand Down

0 comments on commit 296baba

Please sign in to comment.