Skip to content
Browse files

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

…exceptions, not just EasyRdf ones.
  • Loading branch information...
1 parent fbab3c6 commit 3f65ae67a9854e372b7a7e399054b78ebc34323c @njh committed Jun 1, 2012
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";
}
}

0 comments on commit 3f65ae6

Please sign in to comment.
Something went wrong with that request. Please try again.