diff options
author | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-10-02 19:40:16 +0000 |
---|---|---|
committer | tkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2012-10-02 19:40:16 +0000 |
commit | 32a55fe960a609e0d4f25e408d1f56e2204f02db (patch) | |
tree | 1661069a16a46f74266e1068c701cad7661fbe34 /BKUOnline/src/main/java/at/gv | |
parent | 6053457f2c36be893cacbd74f2b173d149f9efd1 (diff) | |
download | mocca-32a55fe960a609e0d4f25e408d1f56e2204f02db.tar.gz mocca-32a55fe960a609e0d4f25e408d1f56e2204f02db.tar.bz2 mocca-32a55fe960a609e0d4f25e408d1f56e2204f02db.zip |
set / log errormessages in some remaining places
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@1144 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main/java/at/gv')
-rw-r--r-- | BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALRequestBrokerImpl.java | 4 |
1 files changed, 3 insertions, 1 deletions
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"); |