From e996a40447046ccd22a07dd69392f42d10b9b038 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Fri, 13 Jan 2023 18:27:26 +0100 Subject: [PATCH] add message to error responses Some Spring update changed the default behavior to not include the message in error responses. --- pdb-ui/src/main/resources/application.properties | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pdb-ui/src/main/resources/application.properties b/pdb-ui/src/main/resources/application.properties index c46f5a0..8340fcc 100644 --- a/pdb-ui/src/main/resources/application.properties +++ b/pdb-ui/src/main/resources/application.properties @@ -9,6 +9,9 @@ path.fileDropConfig=${base.dir}/drop.json logging.config=classpath:log4j2.xml server.port=17333 +server.error.include-message=ALWAYS +server.error.include-stacktrace=NEVER + spring.servlet.multipart.enabled=true spring.servlet.multipart.max-file-size=3000MB