server/src/app/Libraries/Sparql/SparqlClient.php
changeset 28 b0b56e0f8c7f
parent 4 f55970e41793
child 109 d22ed5792f8e
--- a/server/src/app/Libraries/Sparql/SparqlClient.php	Fri Jan 15 15:27:56 2016 +0100
+++ b/server/src/app/Libraries/Sparql/SparqlClient.php	Fri Jan 15 15:35:00 2016 +0100
@@ -116,7 +116,8 @@
         if($resp->getStatusCode() != 204) {
             throw new CorpusParoleException("Could not update in transaction with operation $operation: "
                 . $resp->getStatusCode() . " - "
-                . $resp->getReasonPhrase() . " : " . $resp->getBody(), 1);
+                . $resp->getReasonPhrase() . " : " . $resp->getBody()
+                . " : $query" , 1);
         }
     }