[Solved] Block 400 exception, not all of them

I believe this should work out just fine, if any holes please let me know.




foreach ($logs as $log)

    	{

    		$tempMessage = $this->formatLogMessage($log[0]);

    		if(!strstr($tempMessage, '\"Your request is invalid.\"'))

    		  	$message.=$this->formatLogMessage($log[0],$log[1],$log[2],$log[3]);

    	}