Update error_Handler.php

fixed error checking (i thiink)