It makes sure that when something goes fubar, you dont see an errormessage.
so dont use it when you are testing your site 🙂
when you are testing your site, use something like this:
$ip_query = mysql_query("SELECT * FROM visitor_log WHERE ipaddress = '$ipaddress'") or die(mysql_error());