Skip to content

Commit

Permalink
feature/IVYPORTAL-18034-Information-exposure-through-an-error-message (
Browse files Browse the repository at this point in the history
…#1326)

* feature/IVYPORTAL-18034-Information-exposure-through-an-error-message

- Handle security warning

* feature/IVYPORTAL-18034-Information-exposure-through-an-error-message-master

- Update ChatBotRestService
  • Loading branch information
lmluat-axonivy authored Dec 19, 2024
1 parent 27df968 commit e80ce5c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ public Response processes(@PathParam("clientId") String clientId, ChatbotPayload

return Response.ok(toJson(response)).build();
} catch (NotFoundException e) {
return Response.status(Status.NOT_FOUND).entity(e.getMessage()).build();
Ivy.log().error(e);
return Response.status(Status.NOT_FOUND).build();
}
}

Expand Down

0 comments on commit e80ce5c

Please sign in to comment.