Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed error catching in the Sparql query form example to catch all …

…exceptions, not just EasyRdf ones.
  • Loading branch information...
commit 3f65ae67a9854e372b7a7e399054b78ebc34323c 1 parent fbab3c6
@njh authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/sparql_queryform.php
View
2  examples/sparql_queryform.php
@@ -64,7 +64,7 @@
} else {
print $results->dump(true);
}
- } catch (EasyRdf_Exception $e) {
+ } catch (Exception $e) {
print "<div class='error'>".$e->getMessage()."</div>\n";
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.