Remove error_reporting check from handleError

The error level must be configured with registerErrorHandler
Use error_reporting as default value error handler