[PATCH] Error message with document code

Wald Commits scm-commit at wald.intevation.org
Wed Jun 13 18:38:18 CEST 2018


# HG changeset patch
# User mschaefer
# Date 1528907887 -7200
# Node ID 5b184dc5b4a98f02256ba5e4e51ebd849a63013f
# Parent  c92b50c9c99a2e8ec2d75de031de6d54c152acf1
Error message with document code

diff -r c92b50c9c99a -r 5b184dc5b4a9 src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClientImpl.java
--- a/src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClientImpl.java	Wed Jun 13 15:37:12 2018 +0200
+++ b/src/main/java/org/dive4elements/artifacts/httpclient/http/HttpClientImpl.java	Wed Jun 13 18:38:07 2018 +0200
@@ -162,7 +162,7 @@
         }
         catch (IOException ioe) {
             throw new ConnectionException(
-                "Connection to server failed. No Artifact created.", ioe);
+                "Connection to server failed. No Artifact created.\n" + XMLUtils.toString(doc), ioe);
         }
     }
 


More information about the Dive4Elements-commits mailing list