Skip to content
Snippets Groups Projects
Commit a8c56937 authored by Alvaro Graves's avatar Alvaro Graves
Browse files

Tiny improvement in debugging output

parent 355475c0
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,10 @@ class Endpoint{
return $result;
}
public function getSparqlURL(){
return $this->sparqlUrl;
}
}
?>
......@@ -400,9 +400,10 @@ class Utils{
}
if($conf['debug']){
echo "$modelFile\n------------------\n";
echo $query;
}
trigger_error("Running query on endpoint", E_USER_NOTICE);
trigger_error("Running query from ".$modelFile." on endpoint ".$e->getSparqlURL(), E_USER_NOTICE);
$aux = $e->query($query, Utils::getResultsType($query));
if($modelFile != $lodspk['type']){
if(!isset($rPointer[$strippedModelFile])){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment