configure error_reporting in frontend