diff options
Diffstat (limited to 'BKUOnline')
-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"); |