summaryrefslogtreecommitdiff
path: root/BKUOnline
diff options
context:
space:
mode:
Diffstat (limited to 'BKUOnline')
-rw-r--r--BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java
index 744ea3e1..a1e29870 100644
--- a/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java
+++ b/BKUOnline/src/main/java/at/gv/egiz/stal/service/impl/STALServiceImpl.java
@@ -162,10 +162,14 @@ public class STALServiceImpl implements STALPortType {
if (log.isDebugEnabled()) {
StringBuilder sb = new StringBuilder("Received GetNextRequest containing ");
sb.append(responsesIn.size());
- sb.append(" responses: ");
+ sb.append(" responses:");
for (JAXBElement<? extends ResponseType> respIn : responsesIn) {
- sb.append(respIn.getValue().getClass());
sb.append(' ');
+ sb.append(respIn.getValue().getClass());
+ if (respIn.getValue() instanceof ErrorResponseType) {
+ ErrorResponseType err = (ErrorResponseType)respIn.getValue();
+ sb.append(" (" + err.getErrorCode() + " - " + err.getErrorMessage() + ")");
+ }
}
log.debug(sb.toString());
}