From 32a55fe960a609e0d4f25e408d1f56e2204f02db Mon Sep 17 00:00:00 2001 From: tkellner Date: Tue, 2 Oct 2012 19:40:16 +0000 Subject: set / log errormessages in some remaining places git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1144 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../main/java/at/gv/egiz/stal/service/impl/STALRequestBrokerImpl.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'BKUOnline/src') diff --git a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALRequestBrokerImpl.java b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALRequestBrokerImpl.java index 1fdac2ca..cc5b8462 100644 --- a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALRequestBrokerImpl.java +++ b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALRequestBrokerImpl.java @@ -184,7 +184,9 @@ public class STALRequestBrokerImpl implements STALRequestBroker { log.warn("Timeout while waiting to consume response, cleanup requests."); requests.clear(); hashDataInputs.clear(); - return Collections.singletonList((STALResponse) new ErrorResponse(ERR_4500)); + ErrorResponse err = new ErrorResponse(ERR_4500); + err.setErrorMessage("Timeout while waiting to consume response"); + return Collections.singletonList((STALResponse) err); } } log.trace("consuming responses"); -- cgit v1.2.3